This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/36604] New: ICE on duplicate DATA


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]