patches/gcc/3.3.3/pr10589-1-test.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/gcc/3.3.3/pr10589-1-test.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,17 +0,0 @@
     1.4 ---- /dev/null	Sat Dec 14 13:56:51 2002
     1.5 -+++ gcc-3.3.1/gcc/testsuite/gcc.dg/pr10589-1.c	Mon Sep 15 08:57:58 2003
     1.6 -@@ -0,0 +1,14 @@
     1.7 -+/* PR target/10589
     1.8 -+ * Reporter: mathieu@thenesis.com
     1.9 -+ * Summary: For Hitachi SH target, GCC crashes when both -fomit-frame-pointer and -mdalign options are specified
    1.10 -+ * Keywords: ice-on-valid-code
    1.11 -+ * Testcase by Kazu Hirata, tweaked by dank@kegel.com
    1.12 -+ * Did not fail in Hard Hat 2.0 gcc-2.97, nor in dodes gcc-3.0.2, so this is a regression, so I'm not marking it xfail
    1.13 -+ */
    1.14 -+/* { dg-do compile { target sh*-*-* } } */
    1.15 -+/* { dg-options "-fomit-frame-pointer -mdalign" } */
    1.16 -+
    1.17 -+int foo(int a, int b)
    1.18 -+{
    1.19 -+	return a / b;
    1.20 -+}