[Bug c/20652] New: rejects code with an error: aliased to undefined symbol
belyshev at depni dot sinp dot msu dot ru
gcc-bugzilla@gcc.gnu.org
Sat Mar 26 23:58:00 GMT 2005
------------------------------------------------------------------------------
extern int foo;
extern int bar __attribute__ ((alias ("foo")));
------------------------------------------------------------------------------
$ gcc foo.i
foo.i:2: error: Âbar aliased to undefined symbol ÂfooÂ
$
this code is taken from glibc/sysdeps/wordsize-64/wcstol_l.c and it was accepted
by gcc 3.4 and earlier.
--
Summary: rejects code with an error: aliased to undefined symbol
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at depni dot sinp dot msu dot ru
CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20652
More information about the Gcc-bugs
mailing list