[Bug fortran/39896] ICE with -fwhole-file
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 4 10:31:00 GMT 2009
------- Comment #6 from pault at gcc dot gnu dot org 2009-05-04 10:31 -------
> For some reason that I do not see right now, cs_base in resolve.c is not being
> pushed or popped correctly.
Ah yes! resolve_codes nulls out cs_base. The problem is fixed by storing
cs_base before calling gfc_resolve, at line 1674, and then restoring the value
afterwards. It might be cleaner to do this in gfc_resolve - I'll check later.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39896
More information about the Gcc-bugs
mailing list