[committed] ARC/GAS: Correct a `spaces' global shadowing error
Claudiu Zissulescu
Claudiu.Zissulescu@synopsys.com
Fri Dec 9 09:42:00 GMT 2016
More information about the Binutils mailing list
Fri Dec 9 09:42:00 GMT 2016
- Previous message (by thread): [committed] ARC/GAS: Correct a `spaces' global shadowing error
- Next message (by thread): [committed] MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Fix a commit a9752fdf8398 ("[ARC] Sync cpu names with the ones accepted
> by GCC.") build regression:
>
> cc1: warnings being treated as errors
> .../gas/config/tc-arc.c: In function 'arc_show_cpu_list':
> .../gas/config/tc-arc.c:3452: error: declaration of 'spaces' shadows a global
> declaration
> .../gas/../include/libiberty.h:248: error: shadowed declaration is here
> make[4]: *** [tc-arc.o] Error 1
>
> in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc
> command
> line options used when compiling the binutils.").
>
> gas/
> * config/tc-arc.c (arc_show_cpu_list): Rename `spaces' local
> variable to `space_buf'.
Thank you for spotting this,
Claudiu
- Previous message (by thread): [committed] ARC/GAS: Correct a `spaces' global shadowing error
- Next message (by thread): [committed] MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list