mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
bc4ad38cc7
commit
6e822bf64a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue