[Bug fortran/29820] ICE in fold_convert, at fold-const.c:2146

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 15 07:29:00 GMT 2006



------- Comment #6 from rguenth at gcc dot gnu dot org  2006-11-15 07:29 -------
fold_convert cannot handle casts between aggregates (what would that be
anyway...), but only scalars (including pointers).  But it also has an early
out
in case of the types are equal already, so in this case it is "fine" even for
aggregates.  So the place the fortran frontend calls fold_convert is somewhat
dubious.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29820



More information about the Gcc-bugs mailing list