------- Additional Comments From reichelt at gcc dot gnu dot org 2004-09-30 15:07 ------- Confirmed.
The problem is that the same variable appears in two data statements. Just compile the following testcase without command-line parameters: ==================== integer i data i/0/ data i/0/ end ==================== This works with the lno branch that was merged 20040718. So I suppose this worked on mainline then, too. It also worked with g77, so I'm rating this as a regression. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code, monitored Known to fail| |4.0.0 Known to work| |3.4.2 Last reconfirmed|0000-00-00 00:00:00 |2004-09-30 15:07:54 date| | Summary|ICE in |[4.0 regression] ICE when |gfc_assign_data_value, at |variable appears in two data |fortran/data.c:319 |statements Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17737