* gcc.c-torture/compile/20031010-1.c: New test.

From-SVN: r72312
This commit is contained in:
Ian Lance Taylor 2003-10-10 19:48:20 +00:00 committed by Ian Lance Taylor
parent 7a06d606a6
commit 51e73d5737
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-10-10 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.c-torture/compile/20031010-1.c: New test.
2003-10-10 Geoffrey Keating <geoffk@apple.com>
* gcc.c-torture/execute/va-arg-24.c: Correct, and rename to...

View File

@ -0,0 +1,4 @@
/* This crashed the ARM backend with -mcpu=iwmmxt -O because an insn
required a split which was not available for the iwmmxt. */
inline int *f1(int* a, int* b) { if (*b < *a) return b; return a; }
int f2(char *d, char *e, int f) { int g = e - d; return *f1(&f, &g); }