http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55852
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-01-06 20:56:20 UTC --- The problem is that gfc_get_sym_tree is asked to get "size", but that is not available in the current namespace. The ICE goes away if "intrinsic:: size" is added. We could simply remove the assert, but that would be a bad idea in case the user specifies something called "size" for something else. So, we need to generate a different name, like in the frontend optimization pass, where we use __internal_foo for an intrinsic named foo.