[Patch, fortran] PR 45564 ICE: type mismatch with bounds checking.

Mikael Morin mikael.morin@sfr.fr
Tue Sep 7 17:26:00 GMT 2010


Le 07.09.2010 15:33, Mikael Morin a écrit :
> Hello,
>
> this is the fix for pr45564 where an expression's string length had type
> gfc_index_type_node instead of gfc_charlen_type_node, triggering an
> assert in the middle-end (on 64 bits platforms at least).
>
> The fix is to add the conversion (second hunk in trans-intrinsic.c).
>
> Other hunks are about cases (noticed while debugging the ICE) where we
> use integer_one_node for string length, thus hardcoding string length
> type to 32 bits integer instead of using gfc_charlen_type_node.
>
> I plan to commit under the obvious rule once regression test finishes.
It was revision 163958.



More information about the Gcc-patches mailing list