[Bug fortran/45077] ICE with -fwhole-file in fold_convert_loc, at fold-const.c:2021
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 20 13:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45077
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |pault at gcc dot gnu.org
|gnu.org |
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-20 11:21:14 UTC ---
Created attachment 23410
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23410
fix for the version of the problem in comments #4 and #5
Fixes the problem. Bootstraps and regtests OK.
How do I write a testcase to exercise this?
dg-additional-sources is not sufficient is it? That is does it generate:
gfortran source1.f90 source2.f90
or
gfortran -c source1.f90 -o source1.o
gfortran source2.f90 source1.0
??
The second is what is needed.
Paul
More information about the Gcc-bugs
mailing list