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: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2004 20:48:22 -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 tobi at gcc dot gnu dot org 2004-10-02 20:48 -------
This is invalid code. See page 49 of the draft standard. A variable shall not
have more than one explicit initialization. DATA statements count as explicit
initialization.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17737