This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45151] [4.6 regression] New Fortran failuires
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Aug 2010 22:29:39 -0000
- Subject: [Bug fortran/45151] [4.6 regression] New Fortran failuires
- References: <bug-45151-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from mikael at gcc dot gnu dot org 2010-08-01 22:29 -------
Created an attachment (id=21367)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21367&action=view)
Tentative patch
I will test & submit this tomorrow.
I have decided to use gfc_commit_symbol (sym) instead of the full
gfc_commit_symbols to minimize interference with changed_sym in both parsing
mode and resolution mode (just in case someone wants to use the functions in
the other mode in the future).
The remaining testcases were missing a reject_statement () or gfc_undo_symbol
thrown together with the error. The patch also corrects others cases in the
affected functions that may prove wrong in the future.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45151