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/45151] [4.6 regression] New Fortran failuires



------- 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


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