[Bug middle-end/18548] [4.0 Regression] Miscompiles code generated by Gambit-C Scheme->C compiler
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 17 23:50:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17 23:50 -------
(In reply to comment #3)
> We expanding this:
Yes it is, here is an small example of where we produce wrong code, I have to think of a full working
testcase which we can run:
int *fff;
int f(int a, int b)
{
int crcc = b;
int d = *((int*)(a+1));
int i;
a = d >= b? d:b;
for(i=0;i<a;i++)
fff[i] = a;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18548
More information about the Gcc-bugs
mailing list