[Bug fortran/31591] ICE: on array initialization statement using 'ubound' (fortran/trans-array.c:3693)
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 16 20:14:00 GMT 2007
------- Comment #4 from burnus at gcc dot gnu dot org 2007-04-16 21:14 -------
The assert is trans-array.c's gfc_conv_array_initializer
switch (expr->expr_type)
{
...
default:
gcc_unreachable ();
Here, expr->expr_type is EXPR_FUNCTION.
By the way, the scalar version, i.e. removing "dimension" and using
"ubound(TCg_coef,1)", works.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31591
More information about the Gcc-bugs
mailing list