http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763
Daniel Schepler <dschepler at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dschepler at gmail dot com --- Comment #34 from Daniel Schepler <dschepler at gmail dot com> 2012-07-09 15:02:42 UTC --- (In reply to comment #31) Just so you know, the proposed patch would break glibc builds. Here's a reduced test case that reproduces an issue compiling glibc's s_isnan.c on amd64... extern int foo() __attribute__((__const__, __nothrow__)); extern int foo() __asm__("__GI_foo") __attribute__ ((visibility("hidden"))); extern __inline int __attribute__((__always_inline__)) foo() { return 0; } int foo() { return 0; } extern __typeof__(foo) __EI_foo __asm__("foo") __attribute__((alias("__GI_foo"))); On Debian, gcc-4.6 compiles this code OK, while gcc-4.7 (which has this patch applied) errors out with: /tmp/pr33763_broken.c:9:24: error: '__EI_foo' aliased to external symbol '__GI_foo'