[Bug fortran/58334] preprocessor behavior diffs under line continuation
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
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
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
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
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.