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:
Hans-Peter Nilsson 2005-11-04 21:24:20 +00:00 committed by Hans-Peter Nilsson
parent 5fa3b49677
commit 930352c0b7
2 changed files with 21 additions and 0 deletions

View File

@ -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>
* gcc.target/i386/20000609-1.c, gcc.target/i386/20000614-1.c,

View 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;
}