https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70260
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, | |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-03-17 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- g () { integer(kind=4) __result_g; &__result_g = 1B; return __result_g; } obviously that's not a valid assignment. Not sure what g => 1 is supposed to do but AFAIR it makes g "point" to 1? But 'g' isn't a pointer here? Thus a FE issue of not diagnosing this(?) Confirmed.