Commit 8dcea3f3 by Vincent Celier Committed by Richard Kenner

dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR and *_DIV_EXPR as TRUNC_*_EXPR.

        * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
        and *_DIV_EXPR as TRUNC_*_EXPR.

From-SVN: r65793
parent eb5b8ad4
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> 2003-04-18 Mark Mitchell <mark@codesourcery.com>
* cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
......
...@@ -8815,6 +8815,9 @@ loc_descriptor_from_tree (loc, addressp) ...@@ -8815,6 +8815,9 @@ loc_descriptor_from_tree (loc, addressp)
op = DW_OP_or; op = DW_OP_or;
goto do_binop; goto do_binop;
case FLOOR_DIV_EXPR:
case CEIL_DIV_EXPR:
case ROUND_DIV_EXPR:
case TRUNC_DIV_EXPR: case TRUNC_DIV_EXPR:
op = DW_OP_div; op = DW_OP_div;
goto do_binop; goto do_binop;
...@@ -8823,6 +8826,9 @@ loc_descriptor_from_tree (loc, addressp) ...@@ -8823,6 +8826,9 @@ loc_descriptor_from_tree (loc, addressp)
op = DW_OP_minus; op = DW_OP_minus;
goto do_binop; goto do_binop;
case FLOOR_MOD_EXPR:
case CEIL_MOD_EXPR:
case ROUND_MOD_EXPR:
case TRUNC_MOD_EXPR: case TRUNC_MOD_EXPR:
op = DW_OP_mod; op = DW_OP_mod;
goto do_binop; goto do_binop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment