This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH committed] New test case for SMS.
- From: Mostafa Hagog <MUSTAFA at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Mar 2005 10:24:51 +0200
- Subject: [PATCH committed] New test case for SMS.
Committed as obvious.
2005-03-31 Mostafa Hagog <mustafa@il.ibm.com>
* testsuite/gcc.dg/20050330-1.c: New test.
Index: 20050330-1.c
===================================================================
RCS file: 20050330-1.c
diff -N 20050330-1.c
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- 20050330-1.c 31 Mar 2005 09:04:10 -0000
***************
*** 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];
+ }