From: Robert Williams <bob@bob.usuf2.usuhs.mil>
To: egcs list <egcs@cygnus.com>, goto@statabo.rim.or.jp
Subject: -O compiling mixed language code seg faults
Date: Sun, 01 Feb 1998 15:08:00 -0000 [thread overview]
Message-ID: <34D5009C.412EAD18@bob.usuf2.usuhs.mil> (raw)
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/
next reply other threads:[~1998-02-01 15:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-01 15:08 Robert Williams [this message]
1998-02-01 17:29 ` Jeffrey A Law
1998-02-01 19:45 ` Robert Williams
1998-02-02 10:32 ` Dave Love
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=34D5009C.412EAD18@bob.usuf2.usuhs.mil \
--to=bob@bob.usuf2.usuhs.mil \
--cc=egcs@cygnus.com \
--cc=goto@statabo.rim.or.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).