[Bug c/96747] -Wshadow accepts included extern variable shadowing

2020-08-23 Thread matous-dev at criptext dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96747 --- Comment #2 from Martin Matous --- Other compiler's behavior does makes more sense, but yeah, personal opinion. In case the patch ends up not being reverted the docs at https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wshadow shou

[Bug c/96747] New: -Wshadow accepts included extern variable shadowing

2020-08-22 Thread matous-dev at criptext dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: matous-dev at criptext dot com Target Milestone: --- Created attachment 49098 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49098&action=edit -save-temps *.i output When I compile the attached code wi