This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23091] New: ICE in gfc_trans_auto_array_allocation
- From: "valera dot veryazov at teokem dot lu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2005 12:14:33 -0000
- Subject: [Bug fortran/23091] New: ICE in gfc_trans_auto_array_allocation
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Subroutine My(n1)
Dimension myArray(n1)
Save ! or 'Save myArray'
Call xxx(myArray)
Return
End
gives
internal compiler error: in gfc_trans_auto_array_allocation, at
fortran/trans-array.c:3047
g77 compiles the code, and makes a proper warning if instead of 'Save', 'Save
myArray' is used..
--
Summary: ICE in gfc_trans_auto_array_allocation
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: valera dot veryazov at teokem dot lu dot se
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i386 Linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23091