ICE from gcc-2.96 19990630 (experimental) target=vax

Clive Nicolson srwmcln@baby.bedroom.gen.nz
Sat Jul 31 23:33:00 GMT 1999


This is a correction to my last post :-(

I got the following ICE, while trying to emit code
for a call to a parameter less routine. The vax call
instruction always pops all parameters.

In file included from testvaxc.c:1:
test.c: In function `main':
test.c:68: Internal compiler error in `emit_call_1', at calls.c:446

For the vax:

HAVE_call_pop
and
HAVE_call_value_pop

are defined as 1 but

ACCUMULATE_OUTGOING_ARGS,
HAVE_call and
HAVE_call_value are not defined

Very old code for emit_call_1 which I last had working allowed the call
instruction to be emitted when n_popped > 0 || stack_size == 0

Any suggestions on a fix which does not break any other targets.

Clive



More information about the Gcc-bugs mailing list