Bug#329840: gcc-4.0: ICE on sparc: error building zinc-compiler
When building zinc-compiler on sparc, I'm get:
run.nw: In function 'do_run':
run.nw:212: internal compiler error: Segmentation fault
It seems the following code is what is causing it:
void do_run(void *ip)
__asm__("" : : "g"(dummy));
A file with only that in will generate the ICE too.
It happens when using -O* and -g. -O0 or no -g makes it build.
Also, making the dummy buffer smaller than 8089 fixes it. 8089
still crashes, 8088 works without problems.
Compiling the same with gcc-3.3 or 3.4 works without problems.