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

I belive this should be cured by the followup removing the code emitting
warnings in finish_aliases.  I will double check.

Thanks!
Honza
> 
> 
> -- 
> Eric Botcazou

Reply via email to