This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17737] [4.0 regression] ICE when variable appears in two data statements
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2004 15:08:01 -0000
- Subject: [Bug fortran/17737] [4.0 regression] ICE when variable appears in two data statements
- References: <20040929202149.17737.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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