This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26409] New: [gfortran, 4.2.0 regression] ICE (segfault) on valid code
- From: "martin at mpa-garching dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2006 00:18:09 -0000
- Subject: [Bug fortran/26409] New: [gfortran, 4.2.0 regression] ICE (segfault) on valid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Mainline gfortran segfaults when compiling the code below:
module foo
contains
subroutine bar
contains
subroutine baz(a)
integer, dimension(:) :: a
end subroutine
end subroutine
end module foo
martin@linux:~/tmp> gfortran -v -c test.f90
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /home/martin/software/gcc/configure
--with-gmp=/home/martin/software/mygmp --with-mpfr=/home/martin/software/mympfr
--prefix=/home/martin/software/ugcc --enable-languages=c++,fortran
Thread model: posix
gcc version 4.2.0 20060221 (experimental)
/home/martin/software/ugcc/libexec/gcc/x86_64-unknown-linux-gnu/4.2.0/f951
test.f90 -quiet -dumpbase test.f90 -mtune=generic -auxbase test -version -I
/home/martin/software/ugcc/lib/gcc/x86_64-unknown-linux-gnu/4.2.0/finclude -o
/tmp/ccVUSMlJ.s
GNU F95 version 4.2.0 20060221 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.2.0 20060221 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
test.f90: In function ?bar?:
test.f90:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [gfortran, 4.2.0 regression] ICE (segfault) on valid
code
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: martin at mpa-garching dot mpg dot de
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26409