]> gcc.gnu.org Git - gcc.git/commitdiff
dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR and *_DIV_EXPR as TRUNC_...
authorVincent Celier <celier@gnat.com>
Fri, 18 Apr 2003 22:05:48 +0000 (22:05 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 18 Apr 2003 22:05:48 +0000 (18:05 -0400)
        * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
        and *_DIV_EXPR as TRUNC_*_EXPR.

From-SVN: r65793

gcc/ChangeLog
gcc/dwarf2out.c

index c291ea5d78cd5eeeccc235ea9b4f400c32f0f781..b21d8125d3e8f554e67c738e61c228df79983454 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-18  Vincent Celier  <celier@gnat.com>
+
+        * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
+        and *_DIV_EXPR as TRUNC_*_EXPR.
+
 2003-04-18  Mark Mitchell  <mark@codesourcery.com>
 
        * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
index 45a6d62126b4534f73c4c54e717a035ac491e194..628ccb976276e1d5995957c0fbea0bd7eed44f32 100644 (file)
@@ -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;
This page took 0.083677 seconds and 5 git commands to generate.