From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: egcs-bugs@egcs.cygnus.com, gcc-patches@egcs.cygnus.com Subject: Re: Internal compiler error in `emit_call_1' - vax-dec-ultrix4.3 Date: Fri, 06 Aug 1999 12:06:00 -0000 Message-id: <199908061906.PAA25799@hiauly1.hia.nrc.ca> References: X-SW-Source: 1999-08/msg00182.html Here is a fix for the internal compiler error on the vax: * calls.c (emit_call_1): Use call_pop/call_value_pop for all values of n_popped when call/call_value are not defined. --- calls.c.orig Fri Aug 6 13:57:19 1999 +++ calls.c Fri Aug 6 13:57:21 1999 @@ -405,7 +405,12 @@ #ifndef ACCUMULATE_OUTGOING_ARGS #if defined (HAVE_call_pop) && defined (HAVE_call_value_pop) - if (HAVE_call_pop && HAVE_call_value_pop && n_popped > 0) +#if defined (HAVE_call) && defined (HAVE_call_value) + if (HAVE_call && HAVE_call_value && HAVE_call_pop && HAVE_call_value_pop + && n_popped > 0) +#else + if (HAVE_call_pop && HAVE_call_value_pop) +#endif { rtx n_pop = GEN_INT (n_popped); rtx pat; From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: egcs-bugs@egcs.cygnus.com, gcc-patches@egcs.cygnus.com Subject: Re: Internal compiler error in `emit_call_1' - vax-dec-ultrix4.3 Date: Tue, 31 Aug 1999 22:41:00 -0000 Message-ID: <199908061906.PAA25799@hiauly1.hia.nrc.ca> References: X-SW-Source: 1999-08n/msg00182.html Message-ID: <19990831224100.zJ4BIboP0NForoXjzsiJLxvkGDA4WFlLFdGl_QZyIYc@z> Here is a fix for the internal compiler error on the vax: * calls.c (emit_call_1): Use call_pop/call_value_pop for all values of n_popped when call/call_value are not defined. --- calls.c.orig Fri Aug 6 13:57:19 1999 +++ calls.c Fri Aug 6 13:57:21 1999 @@ -405,7 +405,12 @@ #ifndef ACCUMULATE_OUTGOING_ARGS #if defined (HAVE_call_pop) && defined (HAVE_call_value_pop) - if (HAVE_call_pop && HAVE_call_value_pop && n_popped > 0) +#if defined (HAVE_call) && defined (HAVE_call_value) + if (HAVE_call && HAVE_call_value && HAVE_call_pop && HAVE_call_value_pop + && n_popped > 0) +#else + if (HAVE_call_pop && HAVE_call_value_pop) +#endif { rtx n_pop = GEN_INT (n_popped); rtx pat;