c-decl.c (grokdeclarator): Do not complain about redeclaring visible "static" identif...
authorMark Mitchell <mark@codesourcery.com>
Thu, 18 Mar 2004 18:58:08 +0000 (18:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 18 Mar 2004 18:58:08 +0000 (18:58 +0000)
commit4ada538bd6381192f941d50068463fcf84775d76
tree04de0b96dfb183513bec30c4171b9fce14927dd4
parent79e9ebdc7db0be1cd866c3ab3d219053b46835d8
c-decl.c (grokdeclarator): Do not complain about redeclaring visible "static" identifiers "extern" in a...

* c-decl.c (grokdeclarator): Do not complain about redeclaring
visible "static" identifiers "extern" in a local scope.

* dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
post-increments/decrements.

* gcc.dg/local1.c: New test.

* gcc.dg/debug/dwarf2/c99-typedef1.c: New test.

From-SVN: r79634
gcc/ChangeLog
gcc/c-decl.c
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/c99-typedef1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/local1.c [new file with mode: 0644]