Bug#401496: gfortran-4.1 bug / ICE in gfc_conv_constant at fortran-trans-const.c:348
forwarded 401496 http://gcc.gnu.org/PR31639
thanks
* Jonathan Stott <jonathan.stott@utoronto.ca> [2006-12-03 22:56]:
> The source code below generates an internal compiler error. The error
> is somehow related with to the two initialization of the two constants
> n1 and n2. The exact command-line arguments used appear to be irrelevant.
>
> Gfortran version report and compiler error are in the code comments.
Thanks, I've forwarded this to the GCC folks. An inital comment I
received was that it's not clear whether that's actually valid code.
"Initialization expressions have to have constant values, and the
length of an assumed-length string argument isn't constant." But I
don't know anything about Fortran so please don't ask me.
In any case, this issue is now at http://gcc.gnu.org/PR31639
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: