Commit a9e8a5ee by Richard Kenner Committed by Richard Kenner

* dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.

From-SVN: r48815
parent 1536ef88
Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
2002-01-12 Tom Rix <trix@redhat.com>
* config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
......
......@@ -7854,6 +7854,14 @@ mem_loc_descriptor (rtl, mode)
mem_loc_result = int_loc_descriptor (INTVAL (rtl));
break;
case ADDRESSOF:
/* If this is a MEM, return its address. Otherwise, we can't
represent this. */
if (GET_CODE (XEXP (rtl, 0)) == MEM)
return mem_loc_descriptor (XEXP (XEXP (rtl, 0), 0), mode);
else
return 0;
default:
abort ();
}
......
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