]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR target/10114 and PR target/10084
authorEric Botcazou <ebotcazou@libertysurf.fr>
Fri, 28 Mar 2003 08:01:33 +0000 (09:01 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 28 Mar 2003 08:01:33 +0000 (08:01 +0000)
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

gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog

index 3b6d7c1cd404a12805d380f2b13e8bcc92f0dd72..53ec07b3acc0464c41b4a16807d658153f3c1b6b 100644 (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
index 4eaa81b38d65cb43d87056d6969eae72653fdec7..a597b6c8692754d8ebaf154e44b289fc4262b556 100644 (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
index b014b09420bdf12115e992d651f46310c6281d1b..c42f92cee3466723c87098e4e3bae49c87ef9a4f 100644 (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.