------- Additional Comments From falk at debian dot org 2005-07-30 13:35 ------- Well, the behavior is undefined here, so what we currently do is just fine.
Moreover, this can only be detected at link time, so there's no way for us to give a warning; at best, we could emit a fake reference and have the linker hard fail. I don't think we want that, since it wastes space in the binary for no really good reason other than being pedantic. So I'd say WONTFIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23147