aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-03-18 18:58:08 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-03-18 18:58:08 +0000
commit4ada538bd6381192f941d50068463fcf84775d76 (patch)
tree04de0b96dfb183513bec30c4171b9fce14927dd4 /gcc/dwarf2out.c
parent79e9ebdc7db0be1cd866c3ab3d219053b46835d8 (diff)
downloadgcc-4ada538bd6381192f941d50068463fcf84775d76.zip
gcc-4ada538bd6381192f941d50068463fcf84775d76.tar.gz
gcc-4ada538bd6381192f941d50068463fcf84775d76.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index cb28ffc..88a06e2 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8716,6 +8716,13 @@ loc_descriptor_from_tree (tree loc, int addressp)
case CALL_EXPR:
return 0;
+ case PREINCREMENT_EXPR:
+ case PREDECREMENT_EXPR:
+ case POSTINCREMENT_EXPR:
+ case POSTDECREMENT_EXPR:
+ /* There are no opcodes for these operations. */
+ return 0;
+
case ADDR_EXPR:
/* We can support this only if we can look through conversions and
find an INDIRECT_EXPR. */