This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16173] New: this code does not compile with -O3; owever, it compiles with -O option
- From: "alomar at eng dot kuniv dot edu dot kw" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2004 08:52:07 -0000
- Subject: [Bug fortran/16173] New: this code does not compile with -O3; owever, it compiles with -O option
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
After installation of Lucents port3 library. One of the test programs (prac.f) failed to compile under the
-O3 option; however, it compiled fine with the -O option.
The following output was observed on my dual PowerPC G5 running MacOSX 10.3.4
g77 -v -save-temps -O3 prac.f ../libport.a
Driving: g77 -v -save-temps -O3 prac.f ../libport.a -lfrtbegin -lg2c
Reading specs from /sw/lib/gcc/powerpc-apple-darwin7.2.0/3.4/specs
Configured with: ../gcc-3.4-20031015/configure --prefix=/sw --enable-languages=f77 --infodir=/
share/info --libexecdir=/lib
Thread model: posix
gcc version 3.4 20031015 (experimental)
/sw/lib/gcc/powerpc-apple-darwin7.2.0/3.4/f771 prac.f -fPIC -quiet -dumpbase prac.f -auxbase
prac -O3 -version -o prac.s
GNU F77 version 3.4 20031015 (experimental) (powerpc-apple-darwin7.2.0)
compiled by GNU C version 3.4 20031015 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
prac.f: In subroutine `sgets':
In file included from prac.f:0:
prac.f:362: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: this code does not compile with -O3; owever, it compiles
with -O option
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alomar at eng dot kuniv dot edu dot kw
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-apple-darwin7.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16173