This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jun 2011 12:33:55 +0000
- Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization
- Auto-submitted: auto-generated
- References: <bug-49278-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49278
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.30 12:33:12
Ever Confirmed|0 |1
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-30 12:33:12 UTC ---
(In reply to comment #7)
> J3 subgroup has answered this:
> http://j3-fortran.org/doc/meeting/195/11-201r1.txt
Thanks. In a nutshell: It is invalid - the standard does not allow to combine
partial default-initialization with partial DATA initialization.
It is not a constraint, hence, the compiler is not required to diagnose it, but
I think it should - rather than ICEing ...