[Bug fortran/67542] ICE on initializing type variable with a longer array
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Sep 13 15:01:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-09-13
Ever confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I don't get any internal compiler error for the test in comment 0 from 4.8 up
to trunk (6.0). However I am surprised that I don't get any error. The
following test
character(4) :: str
str=['a', 'b']
print *, str
end
gives
str=['a', 'b']
1
Error: Incompatible ranks 0 and 1 in assignment at (1)
More information about the Gcc-bugs
mailing list