[Bug fortran/58334] preprocessor behavior diffs under line continuation

2021-08-27 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

Manuel López-Ibáñez  changed:

   What|Removed |Added

 CC||manu at gcc dot gnu.org

--- Comment #5 from Manuel López-Ibáñez  ---
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/msg3.html and
follow-ups.

[Bug fortran/58334] preprocessor behavior diffs under line continuation

2021-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

Andrew Pinski  changed:

   What|Removed |Added

 CC||Joost.VandeVondele at mat dot 
ethz
   ||.ch

--- Comment #4 from Andrew Pinski  ---
*** Bug 67623 has been marked as a duplicate of this bug. ***

[Bug fortran/58334] preprocessor behavior diffs under line continuation

2020-01-09 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

--- Comment #3 from markeggleston at gcc dot gnu.org ---
Looks like macro expansion is performed in libcpp/traditional.c by the routine
_cpp_scan_out_logical_line called by _cpp_read_logical_line_trad.

I'm pretty sure that C style continuations are handled by
_cpp_scan_out_logical_line.  Fortran continuations are different (further
complicated depending on whether it is free form or fixed form) so the
continuation is treated as a new logical line and it assumed that that is no
open
quote thus the macro is expanded inside a string.

[Bug fortran/58334] preprocessor behavior diffs under line continuation

2020-01-09 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58334

markeggleston at gcc dot gnu.org changed:

   What|Removed |Added

 CC||markeggleston at gcc dot 
gnu.org

--- Comment #2 from markeggleston at gcc dot gnu.org ---
Still present at revision 28 (10.0)

[Bug fortran/58334] preprocessor behavior diffs under line continuation

2014-01-07 Thread dominiq at lps dot ens.fr
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.