Frank Heckenbach wrote:
The enclosed patch should fix it. (You can undo the previous work-around.)
There was also an obstack problem (gcc-2.x). Maybe that's what I had missed last time I tried it.
But still, consider this patch with caution. I've verified that it doesn't break under Linux/IA32 (gcc-2.8.1, 2.95.3 and 3.3.3) and DJGPP (2.8.1), and fixes the problem under AIX.
I'll test it on more systems when I get to it, but if anyone else can check that it doesn't break (and possibly fix) anything on other systems, this will be appreciated.
Built the compiler and ran the testsuite. On Mac OS X, I found no problems with "gpc.diff-local-static" applied to gpc-20040516 and gcc-3.3.2. I didn't apply previously proposed AIX patches (correct me if I should have). Interestingly, AIX and Mac OS X target the same processor (athough there are ABI differences, of course).
Regards,
Adriaan van Os