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/33295] ICE in fold_const.c (fold_convert) when reordering USE statements



------- Comment #5 from pinskia at gmail dot com  2007-09-04 19:08 -------
Subject: Re:  ICE in fold_const.c (fold_convert) when reordering USE statements

On 4 Sep 2007 19:03:39 -0000, ubizjak at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
> and c never generates RECORD_TYPEs

Yes it does.  Structs in C are done as RECORD_TYPEs.

This code is just plainly wrong really.  fold_convert should not
handle RECORD_TYPEs.  And if does, it is not going to help with
optimizations anyways.  The Fortran front-end has to better keep track
of modules and types inside modules to get this correct.

Thanks,
Andrew Pinski


-- 


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


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