patches/gcc/3.3.1/pr10589-1-test.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/3.3.1/pr10589-1-test.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,17 @@
     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 ++}