http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48095
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-29 10:10:40 UTC --- Remains to be done: The test case of comment 0. Seemingly, for an initialization, the check is not done - while for a normal pointer assignment it is (in expr.c's gfc_check_pointer_assign). I would assume that one needs a similar check in resolve_structure_cons. There are already checks for "pointer initialization" - one probably needs needs to add a similar check to the one in gfc_check_pointer_assign.