[Bug c/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 #2 from Andrew Pinski --- So from what I understand this part is what you want: ``` diff --git a/gcc/gcc.cc b/gcc/gcc.cc index 16bb07f2cdc..2825ef3f037 100644 --- a/gcc/gcc.cc +++ b/gcc/gcc.cc @@ -1471,12 +1471,12 @@ static const str

[Bug c/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 #1 from Andrew Pinski --- >And I've tracked this down to the following old gcc/ChangeLog-2007 entry: https://inbox.sourceware.org/gcc-patches/65dd6fd50708231259v2dce17f4m1ff55e22f221a...@mail.gmail.com/