https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105346
--- Comment #3 from Tim Van Holder <tim.vanholder at anubex dot com> --- Created attachment 52880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52880&action=edit testcase (redacted .ii file) Right, I managed to strip out all code I'm not allowed to share. I do seem to have messed up some of the location directives, so the warnings claim it's part of included files when it's not. This reproduces the warning, and even adds a second one of the exact same type (which is NOT shown with the unredacted source).