This is the mail archive of the gcc-patches@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]

Re: Fix fortran/PR23151 - illegal print syntax


Thomas Koenig <Thomas.Koenig@online.de> wrote on Thu, 25 May 2006:
this fixes PR 23131, where we were accepting an illegal print
syntax.  Regression-testing actually found one such instance
in the testsuite :-)  There are two test cases, one for fixed
and the other one for free format.

To make sense of the patch by looking at it, you'll have to go
back to the "if" that the "else" in the patch refers to, which is

if (gfc_match_char ('(') == MATCH_NO)

OK for trunk? Do we want this for 4.1?

Is something like PRINT (i), something never valid, even with ASSIGNed formats?

- Tobi

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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