PR target/10114 and PR target/10084

PR target/10114 and PR target/10084
	* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r64952
This commit is contained in:
Eric Botcazou 2003-03-28 09:01:33 +01:00 committed by Eric Botcazou
parent b49f9fedd9
commit 3157d89cfb
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
Richard Henderson <rth@redhat.com>
PR target/10114 and PR target/10084
* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
2003-03-27 Janis Johnson <janis187@us.ibm.com>
PR sw-bug/10234

View File

@ -7792,6 +7792,11 @@ mem_loc_descriptor (rtl, mode)
add_loc_descr (&mem_loc_result, new_loc_descr (DW_OP_deref, 0, 0));
break;
case LO_SUM:
rtl = XEXP (rtl, 1);
/* ... fall through ... */
case LABEL_REF:
/* Some ports can transform a symbol ref into a label ref, because
the symbol ref is too far away and has to be dumped into a constant

View File

@ -1,3 +1,7 @@
2003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/sparc-dwarf2.c: New test.
2003-03-26 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/ultrasp6.c: New test.