Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gcc 2.7.2.1 bug?
@ 1997-05-14  8:31 Miguel Barreiro Paz
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Barreiro Paz @ 1997-05-14  8:31 UTC (permalink / raw)


Compiling PGP 2.6.2is on an UDB (RH4.1) gcc bombs with an 
internal compiler error (signal 6) in crypto.c. Everything seems to 
compile and work ok if I disable all optimization when compiling that 
single file; however -O, -O2, -O3 make gcc fail. Is this a known gcc bug?

Regards,

Miguel

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc 2.7.2.1 bug?
       [not found] <Pine.LNX.3.91.970514082248.7698B-100000@ceu.fi.udc.es>
@ 1997-05-14 14:28 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1997-05-14 14:28 UTC (permalink / raw)


> 	Compiling PGP 2.6.2is on an UDB (RH4.1) gcc bombs with an 
> internal compiler error (signal 6) in crypto.c. Everything seems to 
> compile and work ok if I disable all optimization when compiling that 
> single file; however -O, -O2, -O3 make gcc fail. Is this a known gcc bug?

Yes.

r~

--- expmed.c.orig       Sun Apr 27 04:36:17 1997
+++ expmed.c    Sun Apr 27 04:37:13 1997
@@ -875,8 +875,12 @@ extract_bit_field (str_rtx, bitsize, bit
   rtx spec_target = target;
   rtx spec_target_subreg = 0;
 
+#if 0
+  /* Can also be invoked on subwords on architectures that don't have
+     subword loads.  */
   if (GET_CODE (str_rtx) == MEM && ! MEM_IN_STRUCT_P (str_rtx))
     abort ();
+#endif
 
   /* Discount the part of the structure before the desired byte.
      We need to know how many bytes are safe to reference after it.  */

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-05-14 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-14  8:31 gcc 2.7.2.1 bug? Miguel Barreiro Paz
     [not found] <Pine.LNX.3.91.970514082248.7698B-100000@ceu.fi.udc.es>
1997-05-14 14:28 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox