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/20244] internal compiler error: in fold_convert, at fold-const.c:2003



------- Comment #4 from anglade at gmail dot com  2005-11-04 14:54 -------
Hi all,

Looking at the examples of failure due to this bug, I've observed that they are
due  to user defined datatype. The function fold_convert seems to handle only
intrinsic datatypes while the examples were using user defined one.

If user-defined datatypes are removed, the compilation just go through fine.

This feeling about datatype is confirmed by a meer look at fold-const.c. Which
is switch/casing the datatypes.
Unfortunately I'm not a gcc expert and really don't know how this should be
bug-fixed.


-- 


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


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