This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbol table 22/many: handle all aliases through the symtab


> 	* cgraphunit.c (handle_alias_pairs): Cleanup; handle all types of aliases.

This slightly broke error recovery for:

extern int var __attribute__ ((alias ("undef")));

Before:

~/build/gcc/native32/gcc/cc1 -quiet t.c
t.c:1:12: error: 'var' aliased to undefined symbol 'undef'
 extern int var __attribute__ ((alias ("undef")));
            ^

After:

~/build/gcc/native32/gcc/cc1 -quiet t.c
t.c:1:12: error: 'var' aliased to undefined symbol 'undef'
 extern int var __attribute__ ((alias ("undef")));
            ^
t.c:1:12: error: 'var' aliased to undefined symbol 'undef'


-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]