From: Andrew Pinski Date: Fri, 30 Jul 2004 22:01:59 +0000 (+0000) Subject: 20040730-1.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d60bebdd5046c87886b6041caf405c9a63219d75;p=gcc.git 20040730-1.c: New test. 2004-07-30 Andrew Pinski * gcc.c-torture/compile/20040730-1.c: New test. From-SVN: r85360 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6941b3e043e..f334409cd52 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-07-30 Andrew Pinski + + * gcc.c-torture/compile/20040730-1.c: New test. + 2004-07-30 Aldy Hernandez * gcc.dg/vmx/vmx.exp: Explain why we skip tests for diff --git a/gcc/testsuite/gcc.c-torture/compile/20040730-1.c b/gcc/testsuite/gcc.c-torture/compile/20040730-1.c new file mode 100644 index 00000000000..6f224e9a328 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20040730-1.c @@ -0,0 +1,17 @@ +/* PR tree-opt/16827 + This used to ICE in tree-ssa-loop-im.c */ + +extern unsigned short dev_roles[]; +void super_1_sync(int *rdev2) +{ + int i; + int max_dev = 0; + + for (i =0;i<20;i++) + if (rdev2[i] > max_dev) + max_dev = rdev2[i]; + + for (i=0; i