Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-17 Thread Jerry DeLisle
On 05/16/2015 12:58 PM, Jerry DeLisle wrote: > On 05/16/2015 10:45 AM, Jerry DeLisle wrote: > --- snip --- > >> Thanks Steve, >> >> Committed revision 223248. >> >> > > I had some time to play with this a little more this afternoon. > > I am going to commit the following little patchlet that giv

Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-16 Thread Jerry DeLisle
On 05/16/2015 10:45 AM, Jerry DeLisle wrote: --- snip --- > Thanks Steve, > > Committed revision 223248. > > I had some time to play with this a little more this afternoon. I am going to commit the following little patchlet that gives us the nice warning we should have. (After full regression

Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-16 Thread Jerry DeLisle
On 05/16/2015 08:11 AM, Steve Kargl wrote: > On Sat, May 16, 2015 at 07:52:38AM -0700, Jerry DeLisle wrote: >> * ping * >> >>> 2015-05-14 Jerry DeLisle >>> >>> PR fortran/65903 >>> * io.c (format_lex): Change to NONSTRING when checking for >>> possible doubled quote. >>> * scanne

Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-16 Thread Jerry DeLisle
On 05/16/2015 08:17 AM, Mikael Morin wrote: snip >> >> Index: gcc/testsuite/gfortran.dg/continuation_13.f90 >> === >> --- gcc/testsuite/gfortran.dg/continuation_13.f90(revision 223105) >> +++ gcc/testsuite/gfortran.dg/con

Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-16 Thread Mikael Morin
Le 14/05/2015 03:58, Jerry DeLisle a écrit : > The attached patch reverts a change I made for pr65456 which caused this > regression and adds a check for quotes farther down in the function. This > avoids treating a '!' in a string as a comment and wiping the rest of the > line. > > I found the

Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-16 Thread Steve Kargl
On Sat, May 16, 2015 at 07:52:38AM -0700, Jerry DeLisle wrote: > * ping * > > > 2015-05-14 Jerry DeLisle > > > > PR fortran/65903 > > * io.c (format_lex): Change to NONSTRING when checking for > > possible doubled quote. > > * scanner.c (gfc_next_char_literal): Revert change fr

Re: [patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-16 Thread Jerry DeLisle
* ping * On 05/13/2015 06:58 PM, Jerry DeLisle wrote: > The attached patch reverts a change I made for pr65456 which caused this > regression and adds a check for quotes farther down in the function. This > avoids treating a '!' in a string as a comment and wiping the rest of the > line. > > I

[patch, fortran] [5/6 Regression] Line continuation followed by comment character in string fails to compile

2015-05-13 Thread Jerry DeLisle
The attached patch reverts a change I made for pr65456 which caused this regression and adds a check for quotes farther down in the function. This avoids treating a '!' in a string as a comment and wiping the rest of the line. I found the added code is needed because an interposing quote was fall