Would anyone like to comment on this GCC feature request: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103863 . The reason I'm bringing it here is, AP suggested a warning should be in the linker (which combines object files), and not the compiler (which creates object files).