public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* -O compiling mixed language code seg faults
@ 1998-02-01 15:08 Robert Williams
  1998-02-01 17:29 ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Williams @ 1998-02-01 15:08 UTC (permalink / raw)
  To: egcs list, goto

System: egcs-980122, axp/RedHat-5.0, 2.1.82 kernel

A main Fortran program that calls a C language subroutine
(via an archive library...C code calls assembler routine in same
library)
seg-faults when compiled with the -O option.
It works fine when compiled with -g , or with -g -O2 (or O3).
Working executables are produced with any -On link option.
Looks like a bug.

--
Bob Williams, http://bob.usuf2.usuhs.mil/




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

end of thread, other threads:[~1998-02-02 10:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-01 15:08 -O compiling mixed language code seg faults Robert Williams
1998-02-01 17:29 ` Jeffrey A Law
1998-02-01 19:45   ` Robert Williams
1998-02-02 10:32     ` Dave Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).