https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2026-02-13
Ever confirmed|0 |1
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
The original preprocessed source no longer emits a diagnostic on the 14 branch
or newer (and does not work on the 13 branch). Tried
> ./cc1plus -quiet t.ii -O2 -Wall -Wpointer-arith -Wno-unused -Wunused-value
> -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts
> -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
> -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags
> -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local
> -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move
> -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral
> -Werror
with or without -g and -fPIE and -std=gnu++17.
I'd close the bug as WORKSFORME, Sam, can you still reproduce anywhere with the
preprocessed sources?