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

2012-05-20 Thread Jan Hubicka
> > * 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

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

2012-05-20 Thread Eric Botcazou
> * 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

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

2012-05-19 Thread Jan Hubicka
Hi, so far we handled only aliases that looked sane by the new cgraph/varpool code. This patch should complette the transition and we now handle all aliases this way. It also adds an error into case we decided to not handle - the function<->variable aliases. Bootstrapped/regtested x86_64-linux