This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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
and
HAVE_call_value

are defined as 1 but

ACCUMULATE_OUTGOING_ARGS and
HAVE_call[_value]_pop 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]