[Bug fortran/49278] ICE (segfault) when combining DATA with default initialization
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 30 12:34:00 GMT 2011
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 ...
More information about the Gcc-bugs
mailing list