[Bug fortran/57129] [4.7/4.8/4.9 Regression] ICE (segfault) in check_extended_derived_type
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 19 11:10:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57129
--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #7)
> So r202823 is likely to have fixed this PR.
I can confirm that r202823 has fixed the ICE: Reverting that revision
reintroduces the ICE.
I can also confirm that the ICE is gone on all recent versions of trunk, 4.8
and 4.7.
However, the error message is now different from before for the test case in
comment 0 and this reduction:
subroutine t
type t
end type
end
With 4.6 one correctly gets:
type t
1
Error: PROCEDURE attribute of 't' conflicts with DERIVED attribute at (1)
while the recent versions now give:
type t
1
Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 't' at (1)
This is surprising, since the FUNCTION attribute is not specified anywhere in
the test case. Apparently this is also due to Tobias' constructor patch
(r181425).
More information about the Gcc-bugs
mailing list