From: Richard Henderson <rth@dot.cygnus.com>
Subject: Re: alpha egcs-1.0.1 -O2 -mieee internal error--unrecognizable insn
Date: Mon, 19 Jan 1998 15:13:06 -0800 [thread overview]
Message-ID: <171fd0ccdfbc90e7be1bec744ab7fde6.axp-list@archive.invalid> (raw)
In-Reply-To: <34B994C5.5656@blueskystudios.com>
On Sun, Jan 11, 1998 at 10:57:58PM -0500, Richard Hadsell wrote:
> Our egcs-1.0.1 crashes with options -O2 -mieee running on an alpha. I
> have attached the source and output files, because my mailer would wrap
> the longer lines, making them difficult to read. I simplified the test
> case as much as I could. The command line was:
>
> g++ -v -O2 -mieee -c egcsbug1.cc >& egcsbug1.out
This is fixed by the following patch.
r~
Index: alpha.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/alpha/alpha.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -c -p -d -r1.23 -r1.24
*** alpha.c 1998/01/14 23:10:48 1.23
--- alpha.c 1998/01/18 20:15:24 1.24
*************** alpha_handle_trap_shadows (insns)
*** 3718,3725 ****
switch (GET_CODE (i))
{
case INSN:
! /* Annoyingly, get_attr_trap will abort on USE. */
! if (GET_CODE (PATTERN (i)) == USE)
break;
summarize_insn (PATTERN (i), &sum, 0);
--- 3718,3726 ----
switch (GET_CODE (i))
{
case INSN:
! /* Annoyingly, get_attr_trap will abort on these. */
! if (GET_CODE (PATTERN (i)) == USE
! || GET_CODE (PATTERN (i)) == CLOBBER)
break;
summarize_insn (PATTERN (i), &sum, 0);
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1998-01-19 23:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <34B994C5.5656@blueskystudios.com>
1998-01-19 23:13 ` Richard Henderson [this message]
1998-01-12 3:57 alpha egcs-1.0.1 -O2 -mieee internal error--unrecognizable insn Richard Hadsell
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox