re PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64)

2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/19093
        * g++.dg/opt/max1.C: Fix for 64bit targets.

From-SVN: r92430
This commit is contained in:
Andrew Pinski 2004-12-20 21:07:13 +00:00 committed by Andrew Pinski
parent bc4ad38cc7
commit 6e822bf64a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
PR other/19093
* g++.dg/opt/max1.C: Fix for 64bit targets.
2004-12-20 Matt Austern <austern@apple.com>
PR c++/19044

View File

@ -10,7 +10,7 @@ long fff[10];
void f(long a)
{
int i;
a = *((long*)(a+5)) >? *((long*)(a+1));
a = *((long*)(a+1+sizeof(long))) >? *((long*)(a+1));
for(i=0;i<10;i++)
fff[i] = a;