mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 08:54:42 +08:00
re PR target/23424 (cris.md rtl canonicalization bug)
PR target/23424 * gcc.dg/torture/pr23424-1.c: New test. From-SVN: r106507
This commit is contained in:
parent
5fa3b49677
commit
930352c0b7
@ -1,3 +1,8 @@
|
|||||||
|
2005-11-04 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
PR target/23424
|
||||||
|
* gcc.dg/torture/pr23424-1.c: New test.
|
||||||
|
|
||||||
2005-11-04 Richard Henderson <rth@redhat.com>
|
2005-11-04 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* gcc.target/i386/20000609-1.c, gcc.target/i386/20000614-1.c,
|
* gcc.target/i386/20000609-1.c, gcc.target/i386/20000614-1.c,
|
||||||
|
16
gcc/testsuite/gcc.dg/torture/pr23424-1.c
Normal file
16
gcc/testsuite/gcc.dg/torture/pr23424-1.c
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/* { dg-do compile } */
|
||||||
|
extern char *x;
|
||||||
|
extern void foo (void);
|
||||||
|
void f (char *s, char *se, char *mp, char *y)
|
||||||
|
{
|
||||||
|
while (s != se)
|
||||||
|
{
|
||||||
|
char *p;
|
||||||
|
foo ();
|
||||||
|
p = s + *mp;
|
||||||
|
*y++ = *p;
|
||||||
|
s = p;
|
||||||
|
}
|
||||||
|
|
||||||
|
x = s;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user