http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48044
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|ia64-*-linux |ia64-*-linux,
| |x86_64-*-linux
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.03.09 12:28:26
CC| |hubicka at gcc dot gnu.org
Known to work| |4.5.2
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-09
12:28:26 UTC ---
Reduced testcase:
extern int errno;
extern __typeof (errno) errno __asm__ ("__GI_errno");
int errno = 0;
extern __typeof (errno) __EI_errno __asm__("errno");
extern __typeof (errno) __EI_errno __attribute__((alias ("__GI_errno")));
extern __typeof (errno) _errno __attribute__ ((weak, alias ("errno")));
fails with a cross to ia64-linux and also on x86_64-*-*.
gcc> ./cc1 -quiet errno.3.i
errno.3.i:6:1: internal compiler error: in function_and_variable_visibility, at
ipa.c:875
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
works with -O1 and 4.5.2.