OSDN Git Service

* dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Apr 2003 22:05:48 +0000 (22:05 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Apr 2003 22:05:48 +0000 (22:05 +0000)
        and *_DIV_EXPR as TRUNC_*_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65793 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index c291ea5..b21d812 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 45a6d62..628ccb9 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;