yann@1: --- /dev/null Sat Dec 14 13:56:51 2002 yann@1: +++ gcc-3.3.1/gcc/testsuite/gcc.dg/pr10589-1.c Mon Sep 15 08:57:58 2003 yann@1: @@ -0,0 +1,14 @@ yann@1: +/* PR target/10589 yann@1: + * Reporter: mathieu@thenesis.com yann@1: + * Summary: For Hitachi SH target, GCC crashes when both -fomit-frame-pointer and -mdalign options are specified yann@1: + * Keywords: ice-on-valid-code yann@1: + * Testcase by Kazu Hirata, tweaked by dank@kegel.com yann@1: + * 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 yann@1: + */ yann@1: +/* { dg-do compile { target sh*-*-* } } */ yann@1: +/* { dg-options "-fomit-frame-pointer -mdalign" } */ yann@1: + yann@1: +int foo(int a, int b) yann@1: +{ yann@1: + return a / b; yann@1: +}