aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-12-09 12:32:33 -0800
committerJim Wilson <wilson@gcc.gnu.org>1996-12-09 12:32:33 -0800
commitdd2478ae22a89abca3f7d1fe8008346b45f74d45 (patch)
treec0073cdc984cee7c96ce40a935914512d044486d
parent72ec9bf85cf245e96d2dcd870fa428846ec83e05 (diff)
downloadgcc-dd2478ae22a89abca3f7d1fe8008346b45f74d45.zip
gcc-dd2478ae22a89abca3f7d1fe8008346b45f74d45.tar.gz
gcc-dd2478ae22a89abca3f7d1fe8008346b45f74d45.tar.bz2
(mem_loc_descriptor, case MULT): Add.
From-SVN: r13253
-rw-r--r--gcc/dwarf2out.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 0beb780..6ac7d45 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -4999,6 +4999,14 @@ mem_loc_descriptor (rtl)
}
break;
+ case MULT:
+ /* If a pseudo-reg is optimized away, it is possible for it to
+ be replaced with a MEM containing a multiply. */
+ add_loc_descr (&mem_loc_result, mem_loc_descriptor (XEXP (rtl, 0)));
+ add_loc_descr (&mem_loc_result, mem_loc_descriptor (XEXP (rtl, 1)));
+ add_loc_descr (&mem_loc_result, new_loc_descr (DW_OP_mul, 0, 0));
+ break;
+
case CONST_INT:
mem_loc_result = new_loc_descr (DW_OP_constu, INTVAL (rtl), 0);
break;