https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2025-05-03 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- I have reverted r14-11679-g8a884140c2bcb7 and this fixed the build. I can't currently access the machine where the failed build resides, once I recover access I'll try to gather up a non-preprocessed set of files to reproduce the issue. I've tried N newlines before a static_assert on __LINE__ but that does not seem to trigger it - likely some file context swaps are required. I've tried the preprocessed source with the static_assert changed back to __LINE__ and compiling without -fpreprocessed and that reproduces it when compiling with -fno-preprocessed, but I'm not sure that's a valid testcase as the #line directives in the preprocessed source are off. In fact: # 28 "../../../../../src/3rdparty/chromium/third_party/blink/public/common/interest_group/auction_config.h" 2 namespace blink { is probably the first wrong line directive. The corresponding source is #include "url/gurl.h" #include "url/origin.h" namespace blink { There are larger comment blocks we skip with line directives, possibly those are an issue as well. For the 14 branch I think the solution is to revert the backport, the bug was not marked as regression. I'm confirming the issue based on the reversion fixing the build.