http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58027
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-08-03
Ever confirmed|0 |1
--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
The problem is that the error raised in arith_error does not
get emitted, and the function gets passed to
gfc_conv_array_initializer, where it ICEs.
I played around this a little bit. The problem is that
an obvious thing like issuing a gfc_error_now in
arith_error leads to regressions (like "unclassifiable statements")
in boz_4.f90.
Putting in a specific error for this case where the ICE occurs seems
hackish, to put it mildly.