This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54141] The optimizer -O produces a bug.
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2012 16:45:50 +0000
- Subject: [Bug fortran/54141] The optimizer -O produces a bug.
- Auto-submitted: auto-generated
- References: <bug-54141-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54141
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
Severity|critical |normal
--- Comment #1 from kargl at gcc dot gnu.org 2012-07-31 16:45:50 UTC ---
It not at all clear to me why you think that there is a bug
in gfortran. To me, it looks like a problem with your
expectations for mix language programming.
troutmask:sgk[214] gcc46 -c -DLinux locf.c
troutmask:sgk[215] gfortran46 -o z -fcheck=all GANLIB.f locf.o
troutmask:sgk[216] ./z
IPLIST= 5796361
At line 10 of file GANLIB.f
Fortran runtime error: Index '5796365' of dimension 1 of array 'ibase' above
upper bound of 1