public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58334] New: preprocessor behavior diffs under line continuation
@ 2013-09-06 10:20 rimvydas.jas at gmail dot com
  2014-01-07 13:49 ` [Bug fortran/58334] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rimvydas.jas at gmail dot com @ 2013-09-06 10:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

            Bug ID: 58334
           Summary: preprocessor behavior diffs under line continuation
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rimvydas.jas at gmail dot com

Sometimes tedious to detect, happens only on continued part of line.
Look like incorrect detection of strings
Not part of std, but depends on placement.

Sample:
$ cat def_test.F90 
program foo
implicit none
character(len=16) :: a,b,c
a="XXX"
b="&
  &XXX"
c="XXX &
  & XXX"
write(0,*) 'a=',a,' b=',b,' c=',c 
endprogram foo

gfortran def_test.F90 -Wall -Wextra -DXXX=program && ./a.out
 a=XXX              b=program          c=XXX  program


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/58334] preprocessor behavior diffs under line continuation
  2013-09-06 10:20 [Bug fortran/58334] New: preprocessor behavior diffs under line continuation rimvydas.jas at gmail dot com
@ 2014-01-07 13:49 ` dominiq at lps dot ens.fr
  2021-08-27  2:15 ` pinskia at gcc dot gnu.org
  2021-08-27 11:22 ` manu at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-01-07 13:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-01-07
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Still present at r206385.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/58334] preprocessor behavior diffs under line continuation
  2013-09-06 10:20 [Bug fortran/58334] New: preprocessor behavior diffs under line continuation rimvydas.jas at gmail dot com
  2014-01-07 13:49 ` [Bug fortran/58334] " dominiq at lps dot ens.fr
@ 2021-08-27  2:15 ` pinskia at gcc dot gnu.org
  2021-08-27 11:22 ` manu at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-27  2:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 67623 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/58334] preprocessor behavior diffs under line continuation
  2013-09-06 10:20 [Bug fortran/58334] New: preprocessor behavior diffs under line continuation rimvydas.jas at gmail dot com
  2014-01-07 13:49 ` [Bug fortran/58334] " dominiq at lps dot ens.fr
  2021-08-27  2:15 ` pinskia at gcc dot gnu.org
@ 2021-08-27 11:22 ` manu at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2021-08-27 11:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Some useful links copied from the duplicated report:

https://gcc.gnu.org/ml/gcc/2014-11/msg00357.html

See also the comments in https://gcc.gnu.org/ml/gcc/2014-12/msg00003.html and
follow-ups.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-27 11:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06 10:20 [Bug fortran/58334] New: preprocessor behavior diffs under line continuation rimvydas.jas at gmail dot com
2014-01-07 13:49 ` [Bug fortran/58334] " dominiq at lps dot ens.fr
2021-08-27  2:15 ` pinskia at gcc dot gnu.org
2021-08-27 11:22 ` manu at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).