This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29820] ICE in fold_convert, at fold-const.c:2146
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2006 07:29:26 -0000
- Subject: [Bug fortran/29820] ICE in fold_convert, at fold-const.c:2146
- References: <bug-29820-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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