This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ICE from gcc-2.96 19990630 (experimental) target=vax
- To: Clive Nicolson <srwmcln at baby dot bedroom dot gen dot nz>
- Subject: Re: ICE from gcc-2.96 19990630 (experimental) target=vax
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 29 Aug 1999 14:32:21 -0600
- cc: egcs-bugs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <009DAA07.DDB51C60.1@baby.bedroom.gen.nz>you write:
> 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.
This should be fixed in the next egcs snapshot.
Thanks,
jeff