> > * 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
> * 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
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