bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13131] internal error in ppc64_elf_edit_toc when linking 416.gam


From: amodra at gmail dot com
Subject: [Bug ld/13131] internal error in ppc64_elf_edit_toc when linking 416.gamess
Date: Thu, 25 Aug 2011 12:10:12 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13131

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2011-08-25 12:10:12 
UTC ---
This turns out to be an utterly weird .debug_loc reference into the TOC.  I
think gcc var tracking had a seizure.

I cannot see why we would ever want a TOC reference in debug info, so I'm
closing this as wontfix.  I suppose the linker could edit the DW_OP_addr <toc
entry>, DW_OP_deref to DW_OP_addr <what the toc entry pointed to>, DW_OP_nop,
but that's just silly when gcc shouldn't be generating this garbage in the
first place.

(insn 269 7857 8303 5 (set (reg/f:DI 9 9 [1981])
        (const:DI (plus:DI (reg:DI 2 2)
                (high:DI (const:DI (unspec:DI [
                                (symbol_ref/u:DI ("*.LC7") [flags 0x2])
                            ] UNSPEC_TOCREL)))))) 513 {largetoc_high}
     (expr_list:REG_EQUIV (const:DI (plus:DI (reg:DI 2 2)
                (high:DI (const:DI (unspec:DI [
                                (symbol_ref/u:DI ("*.LC7") [flags 0x2])
                            ] UNSPEC_TOCREL)))))
        (nil)))

(debug_insn 8303 269 8128 5 (var_location:DI D#146 (reg/f:DI 9 9 [1981])) -1
     (nil))

(debug_insn 8124 278 8123 5 (var_location:DI D#143 (plus:DI (reg/f:DI 20 20
[5416])
        (const_int 32 [0x20]))) -1
     (nil))


(debug_insn 8123 8124 7848 5 (var_location:DI D#142 (mem/u/c:DI (lo_sum:DI
(debug_expr:DI D#146)
            (const:DI (unspec:DI [
                        (symbol_ref/u:DI ("*.LC7") [flags 0x2])
                    ] UNSPEC_TOCREL))) [23 S8 A8])) -1
     (nil))

(debug_insn 7848 8123 7852 5 (var_location:SI iznuc (fix:SI (plus:DF (float:DF
(mem:SI (debug_expr:DI D#142) [0 MEM[base: D.8528_3216, offset: 0B]+0 S4 A32]))
            (mem:DF (debug_expr:DI D#143) [0 MEM[base: D.8527_3225, offset:
0B]+0 S8 A64])))) chgpen.fppized.f:416 -1
     (nil))

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]