From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <171fd0ccdfbc90e7be1bec744ab7fde6.axp-list@archive.invalid> X-Archive-Original-Message-ID: <34C389EB.41C67EA6@iis.fhg.de> Date: Mon, 19 Jan 1998 15:13:06 -0800 From: Richard Henderson Subject: Re: alpha egcs-1.0.1 -O2 -mieee internal error--unrecognizable insn 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