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: "pault 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 17:24:27 -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 #7 from pault at gcc dot gnu dot org 2006-11-15 17:24 -------
(In reply to comment #6)
> 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.
>
Richard,
When the dust settles, I will implement something like it. I am a couple of
minutes away from submitting the abovepatch and a testcase.
Thanks
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-11-13 20:03:19 |2006-11-15 17:24:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29820