From: Nitin Yewale Date: Wed, 30 Jun 2004 16:36:47 +0000 (+0000) Subject: * gcc.dg/h8300-ice2.c : New test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11012cd6977d7a42778d474b494c1431b49a3945;p=gcc.git * gcc.dg/h8300-ice2.c : New test From-SVN: r83912 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e043aaac3d6..71369c38e58 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-06-30 Nitin Yewale + + * gcc.dg/h8300-ice2.c : New test + 2004-06-30 Tobias Schlueter PR fortran/16161 diff --git a/gcc/testsuite/gcc.dg/h8300-ice2.c b/gcc/testsuite/gcc.dg/h8300-ice2.c new file mode 100644 index 00000000000..5dd746a42e9 --- /dev/null +++ b/gcc/testsuite/gcc.dg/h8300-ice2.c @@ -0,0 +1,12 @@ +/*{dg-do compile target {h8300-*-*}} */ +/* ICE for signed/unsigned long and signed char comparison */ +int main() +{ + unsigned long ul = 4; + long sl = 2; + signed char sch = -1; + if (ul <= sch); + return 0; + if (sl <= sch) + return 1; +}