diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-10-29 20:17:23 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-10-29 20:17:23 +0000 |
commit | 077d1abec135863c50dc0d7a11772b23aae22821 (patch) | |
tree | 505d7a759421766b1f73cc99ae4e8492d75f4a37 /libjava | |
parent | 36290bb4d5ca29006aaa97d5c1778594dec4ae22 (diff) | |
download | gcc-077d1abec135863c50dc0d7a11772b23aae22821.zip gcc-077d1abec135863c50dc0d7a11772b23aae22821.tar.gz gcc-077d1abec135863c50dc0d7a11772b23aae22821.tar.bz2 |
re PR c/53066 (Wshadow should not warn for shadowing an extern function)
2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/53066
c/
* c-decl.c (warn_if_shadowing): Do not warn if a variable
shadows a function, unless the variable is a function or a
pointer-to-function.
gcc/
* tree.h (FUNCTION_POINTER_TYPE_P): New.
testsuite/
* gcc.dg/Wshadow-4.c: New.
* gcc.dg/Wshadow-4.h: New.
From-SVN: r192963
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions