http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52994
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-04-15 CC| |janus at gcc dot gnu.org Depends on| |40054 Summary|internal compiler error: in |[OOP] [F08] internal |gfc_trans_assignment_1, at |compiler error: in |fortran/trans-expr.c:6881 |gfc_trans_assignment_1, at | |fortran/trans-expr.c:6881 Ever Confirmed|0 |1 --- Comment #2 from janus at gcc dot gnu.org 2012-04-15 18:46:39 UTC --- ICE Confirmed with 4.6, 4.7 and trunk. I think the test case is invalid in F03, but should be valid in F08: It makes use of pointer functions as lvalue, which is PR40054. However, it does not just use a 'plain' pointer function, but even a pointer-valued (and dimensionful) type-bound procedure. Phew. Thanks for the nice test case :)