This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ICE from gcc-2.96 19990630 (experimental) target=vax
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: ICE from gcc-2.96 19990630 (experimental) target=vax
- From: Clive Nicolson <srwmcln at baby dot bedroom dot gen dot nz>
- Date: Sun, 04 Jul 1999 22:17:14 +1300 NZDT
- CC: srwmcln at baby dot bedroom dot gen dot nz
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