http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225
Bug #: 54225
Summary: fortran compiler segfault processing ' print *, A(1,*)
'
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
uname -a
Darwin wl-dhcp177-121.mines.edu 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24
23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
==========
gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin11.4.0/4.7.1/lto-wrapper
Target: x86_64-apple-darwin11.4.0
Configured with: ../gcc-4.7.1/configure --enable-languages=fortran
Thread model: posix
gcc version 4.7.1 (GCC)
===========
minimal test case:
cat test.f90
program test
implicit none
real :: A(2,3)
print *, A(1, *)
end program
=========
crash errors:
gfortran test.f90
f951: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.