[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #7 from Boris Kolpackov --- BTW, my understanding of the rationale for the original patch (the one that forces -fno-directives-only) is to paper over some underlying issue with -fdirectives-only when used on .S files, potentially the

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #6 from Boris Kolpackov --- > The documentation says specifically-fdirectives-only is ignored if > -fpreprocessed is supplied. Hm, that's not how it works, IME. Specifically, just "-fpreprocessed" means the source code is fully pre

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #5 from Andrew Pinski --- (In reply to Boris Kolpackov from comment #4) > Thanks for the link to the patch submission though I find the > "-fdirectives-only option is incompatible with assembly" statement puzzling. > > > So from wha

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #4 from Boris Kolpackov --- Thanks for the link to the patch submission though I find the "-fdirectives-only option is incompatible with assembly" statement puzzling. > So from what I understand this part is what you want: > > - "

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-04-17 Status|UNCONFIR