aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2014-06-05 05:30:39 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2014-06-05 05:30:39 +0000
commit6447c55dea95705018ff2bb3de7a81c160a71d4e (patch)
treec4f8e2e13a568c7cf9471b9cf3520957becc359c /gcc/gimplify.c
parent1f5dc1b6f06b4dde9538d81e341feae7d9c9c441 (diff)
downloadgcc-6447c55dea95705018ff2bb3de7a81c160a71d4e.zip
gcc-6447c55dea95705018ff2bb3de7a81c160a71d4e.tar.gz
gcc-6447c55dea95705018ff2bb3de7a81c160a71d4e.tar.bz2
re PR c/48062 (`shadowed declaration is here' should be a note)
PR c/48062 * c-decl.c (warn_if_shadowing): Call inform instead of warning_at. Print note only if the warning was printed. * gcc.dg/Wshadow-1.c: Use dg-message for "shadowed declaration". * gcc.dg/Wshadow-3.c: Likewise. * gcc.dg/pr48062.c: New test. From-SVN: r211254
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions