This is the mail archive of the
mailing list for the GCC project.
[Bug fortran/20244] internal compiler error: in fold_convert, at fold-const.c:2003
- From: "anglade at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2005 14:54:45 -0000
- Subject: [Bug fortran/20244] internal compiler error: in fold_convert, at fold-const.c:2003
- References: <firstname.lastname@example.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from anglade at gmail dot com 2005-11-04 14:54 -------
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