When using an automatic array and the -fno-automatic
switch, I get the internal compiler error:
foo.f: In function bar:
foo.f:10: internal compiler error: in gfc_trans_auto_array_allocation, at
fortran/trans-array.c:3593
Bug #21034 appears to be similar, but that was reported fixed in June 05
and I'm getting the error in 4.2.0 (SVN build).
The code compiles fine on g77 v3.4.5 (Linux x86_64) and on
Lahey LF95 v5.60a (Win2000 i386).
--
Summary: 4.2.0 ICE when using automatic array and -fno-automatic
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gregory dot fruth at aero dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28415