This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18548] [4.0 Regression] Miscompiles code generated by Gambit-C Scheme->C compiler
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2004 23:50:25 -0000
- Subject: [Bug middle-end/18548] [4.0 Regression] Miscompiles code generated by Gambit-C Scheme->C compiler
- References: <20041118185317.18548.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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