summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-18 22:05:48 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-18 22:05:48 +0000
commitd7f71e5a5adfe2ee310a78d7c1ed176efc55b28b (patch)
tree9cd0e379fe7936c4bc4d418cb956e567a1d2670e /gcc/dwarf2out.c
parent669f91312ba3e8b43cd7f6826a969e580665c414 (diff)
downloadgcc-d7f71e5a5adfe2ee310a78d7c1ed176efc55b28b.tar.gz
* dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
and *_DIV_EXPR as TRUNC_*_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 45a6d62126b..628ccb97627 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8815,6 +8815,9 @@ loc_descriptor_from_tree (loc, addressp)
op = DW_OP_or;
goto do_binop;
+ case FLOOR_DIV_EXPR:
+ case CEIL_DIV_EXPR:
+ case ROUND_DIV_EXPR:
case TRUNC_DIV_EXPR:
op = DW_OP_div;
goto do_binop;
@@ -8823,6 +8826,9 @@ loc_descriptor_from_tree (loc, addressp)
op = DW_OP_minus;
goto do_binop;
+ case FLOOR_MOD_EXPR:
+ case CEIL_MOD_EXPR:
+ case ROUND_MOD_EXPR:
case TRUNC_MOD_EXPR:
op = DW_OP_mod;
goto do_binop;