From: hagog Date: Thu, 31 Mar 2005 09:24:33 +0000 (+0000) Subject: New test case for SMS. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9bf3b6ca81b13e794cd632ea826c2153f53ca5d;p=thirdparty%2Fgcc.git New test case for SMS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97312 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9051abcb8077..ff39a5d0b000 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-03-31 Mostafa Hagog + + * testsuite/gcc.dg/20050330-1.c: New test. + 2005-03-31 Kazu Hirata * config.gcc: Obsolete i860-*-sysv4*, ip2k-*-elf, diff --git a/gcc/testsuite/gcc.dg/20050330-1.c b/gcc/testsuite/gcc.dg/20050330-1.c new file mode 100644 index 000000000000..69b5f9dcfe96 --- /dev/null +++ b/gcc/testsuite/gcc.dg/20050330-1.c @@ -0,0 +1,14 @@ +/* This test is a reduced test case for a bug that caused + ICE while bootstrapping with -fmodulo-sched on powerpc-apple-darwin + related to (PR middle-end/20177). */ + +/* { dg-do compile } */ +/* { dg-options "-O2 -fmodulo-sched" } */ + +void +foo ( const char *bytes, int len , char *buf) +{ + int i; + for ( i = 0; i < len; ++i ) + buf[i] = bytes[i]; +}