This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]