This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36604] New: ICE on duplicate DATA
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2008 08:52:52 -0000
- Subject: [Bug fortran/36604] New: ICE on duplicate DATA
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
program test
real value(2)
data value/2*0.0/
data value/2*0.0/
end
ICEs in gfc_assign_data_value_range - ref->next == NULL, but find_con_by_offset
returned non-NULL (as the data has been set already). Guess some checking for
duplicate DATA needs to be done and error reported instead of failing
assertions.
--
Summary: ICE on duplicate DATA
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36604