Commit 6e822bf6 by Andrew Pinski Committed by Andrew Pinski

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
parent bc4ad38c
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment