Package: gcc-4.0
Version: 4.0.1-8

Hi,

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)
{
    char dummy[8192];

    __asm__("" : : "g"(dummy));

    goto *ip;
}

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.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to