This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34722] compile results in "internal compiler error: segmentation fault" message
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2008 10:11:56 -0000
- Subject: [Bug fortran/34722] compile results in "internal compiler error: segmentation fault" message
- References: <bug-34722-14147@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dominiq at lps dot ens dot fr 2008-01-09 10:11 -------
Further reduced test case:
PROGRAM GAMSANAL
IMPLICIT NONE
character :: tmp
INTEGER IODICT
LOGICAL DICEXIST
INQUIRE(UNIT=IODICT, EXIST=DICEXIST)
end
SUBROUTINE INVENTNAMES()
IMPLICIT NONE
END SUBROUTINE
If I comment the line "character :: tmp" I get an ICE:
pr34722_red.f90:7: internal compiler error: Segmentation fault
Please submit a full bug report,
If I comment the "INQUIRE" line, the code compiles fine. What is very weird, is
that if I comment the useless subroutine, the code compiles also.
>From the gfortran versions I have at hand, the bug appeared between gcc version
4.3.0 20061231 (FX build) and 20071105 (Tobias build) on
x86_64-unknown-linux-gnu and is not present in i386-pc-linux-gnu gcc version
4.3.0 20070716 (FX build).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34722