aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-10-14 16:30:18 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-10-14 16:30:18 -0700
commit0ba6c56d92aebf7e6cf7641f9f3e85bdf68bd6c9 (patch)
treee845fdbdb7df6999552ff344f939112c681db22a /gcc
parent559f2da552874a159ac13d13b7d5d94e3deafd10 (diff)
downloadgcc-0ba6c56d92aebf7e6cf7641f9f3e85bdf68bd6c9.zip
gcc-0ba6c56d92aebf7e6cf7641f9f3e85bdf68bd6c9.tar.gz
gcc-0ba6c56d92aebf7e6cf7641f9f3e85bdf68bd6c9.tar.bz2
re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)
PR debug/14492 * dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR. From-SVN: r89066
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6be32d73..440b475 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-10-14 Richard Henderson <rth@redhat.com>
+ PR debug/14492
+ * dwarf2out.c (loc_descriptor_from_tree_1): Handle FIX_*_EXPR.
+
+2004-10-14 Richard Henderson <rth@redhat.com>
+
PR c/17023
* c-decl.c (store_parm_decls_oldstyle): Care for parameter type
as error_mark_node.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 75e328d..f4c5974 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -9171,6 +9171,12 @@ loc_descriptor_from_tree_1 (tree loc, int want_address)
}
break;
+ case FIX_TRUNC_EXPR:
+ case FIX_CEIL_EXPR:
+ case FIX_FLOOR_EXPR:
+ case FIX_ROUND_EXPR:
+ return 0;
+
default:
/* Leave front-end specific codes as simply unknown. This comes
up, for instance, with the C STMT_EXPR. */