20040730-1.c: New test.

2004-07-30  Andrew Pinski  <apinski@apple.com>

        * gcc.c-torture/compile/20040730-1.c: New test.

From-SVN: r85360
This commit is contained in:
Andrew Pinski 2004-07-30 22:01:59 +00:00 committed by Andrew Pinski
parent 92965c565b
commit d60bebdd50
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-07-30 Andrew Pinski <apinski@apple.com>
* gcc.c-torture/compile/20040730-1.c: New test.
2004-07-30 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/vmx/vmx.exp: Explain why we skip tests for

View File

@ -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<max_dev;i++)
dev_roles[max_dev] = 0xfffe;
}