https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87056
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-08-22 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Would be related to: gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/marxin/Programming/gcc/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE /home/marxin/Programming/gcc/libiberty/pex-unix.c -o pex-unix.o /home/marxin/Programming/gcc/libiberty/pex-unix.c: In function ‘pex_unix_exec_child’: /home/marxin/Programming/gcc/libiberty/pex-unix.c:659:6: warning: declaration of ‘err’ shadows a parameter [-Wshadow=local] int err = errno; ^~~ /home/marxin/Programming/gcc/libiberty/pex-unix.c:569:47: note: shadowed declaration is here int toclose, const char **errmsg, int *err) ~~~~~^~~ I'm going to fix it.