]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/41404 (expr.c undefined reference while linking jc1)
authorDave Korn <dave.korn.cygwin@gmail.com>
Tue, 22 Sep 2009 01:17:24 +0000 (01:17 +0000)
committerDave Korn <davek@gcc.gnu.org>
Tue, 22 Sep 2009 01:17:24 +0000 (01:17 +0000)
PR bootstrap/41404
* dwarf2out.c (mem_loc_descriptor): Punt on CONST_STRING until
we can handle it correctly.

From-SVN: r151958

gcc/ChangeLog
gcc/dwarf2out.c

index 6acac677a0916deaf64355869b0b3fce27cb2e55..39f34895c381f53c69e44bb1f5bd8d2720cdc169 100644 (file)
@@ -1,3 +1,9 @@
+2009-09-22  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR bootstrap/41404
+       * dwarf2out.c (mem_loc_descriptor): Punt on CONST_STRING until
+       we can handle it correctly.
+
 2009-09-21  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/install.texi (os2): Remove section.
index a45703e8b50c678aaa8c171dd73e982e5581bc4e..e1f16fecd811100571c3114676554c3164a8b29a 100644 (file)
@@ -11252,7 +11252,6 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode,
          break;
        }
 
-    symref:
       mem_loc_result = new_loc_descr (DW_OP_addr, 0, 0);
       mem_loc_result->dw_loc_oprnd1.val_class = dw_val_class_addr;
       mem_loc_result->dw_loc_oprnd1.v.val_addr = rtl;
@@ -11667,8 +11666,8 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode,
       break;
 
     case CONST_STRING:
-      rtl = get_debug_string_label (XSTR (rtl, 0));
-      goto symref;
+      /* These can't easily be tracked, see PR41404.  */
+      break;
 
     default:
 #ifdef ENABLE_CHECKING