diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2009-09-22 01:17:24 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2009-09-22 01:17:24 +0000 |
commit | cf09842e67b2f51f8febe74bf55b47d5e49da98c (patch) | |
tree | 2e3331e1d885a5e6846691fdd3bcbf070f935c91 | |
parent | 1b6429d765b037a0c1d4734846dca62c77b5a34a (diff) | |
download | gcc-cf09842e67b2f51f8febe74bf55b47d5e49da98c.zip gcc-cf09842e67b2f51f8febe74bf55b47d5e49da98c.tar.gz gcc-cf09842e67b2f51f8febe74bf55b47d5e49da98c.tar.bz2 |
re PR bootstrap/41404 (expr.c undefined reference while linking jc1)
PR bootstrap/41404
* dwarf2out.c (mem_loc_descriptor): Punt on CONST_STRING until
we can handle it correctly.
From-SVN: r151958
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6acac67..39f3489 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index a45703e..e1f16fe 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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 |