diff options
author | Vincent Celier <celier@gnat.com> | 2003-04-18 22:05:48 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2003-04-18 18:05:48 -0400 |
commit | 8dcea3f35aa46a95aef9b4841b686744214f5690 (patch) | |
tree | 9cd0e379fe7936c4bc4d418cb956e567a1d2670e /gcc | |
parent | eb5b8ad45266c93579c52f90f5068018b52fc073 (diff) | |
download | gcc-8dcea3f35aa46a95aef9b4841b686744214f5690.zip gcc-8dcea3f35aa46a95aef9b4841b686744214f5690.tar.gz gcc-8dcea3f35aa46a95aef9b4841b686744214f5690.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c291ea5..b21d812 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 45a6d62..628ccb9 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; |