From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1EC3F3857C71; Wed, 29 Jul 2020 18:12:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EC3F3857C71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596046355; bh=MVriVhl/tkwoI+e94LbGry6gHOViBJDuNCiuyT31J+8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FyCICcQf53ml8W3SNE098uAfbiTYoAZdse9HJ1omHEy394vjjrAfHxj2RGHPYEIhP ECja6ZUvix6e00u7HXFVKiB81GGQ4qGte1WrXZkcOoB66PRNc49rIbRZ/nFg1kjT2k 71MiaWwUMpyyc3A7+18jbtMBUc4vRIrIEf8UtgSw= From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96347] note: non-delegitimized UNSPEC UNSPEC_TP (19) found in variable location Date: Wed, 29 Jul 2020 18:12:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2020 18:12:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96347 Iain Buclaw changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #48946|0 |1 is obsolete| | --- Comment #4 from Iain Buclaw --- Created attachment 48953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48953&action=3Dedit delegitimize mem(plus (unspec reg) tls) Second patch, this time dealing with the following insn --- (mem/f/c:DI (plus:DI (unspec:DI [ (const_int 0 [0]) ] UNSPEC_TP) (reg:DI 89)) [1 MEM [(struct Darray *)&testYearsBC + 8B]+0 = S8 A64]) --- After ix86_delegitimize_tls_address, it becomes --- (mem/f/c:DI (reg/f:DI 6 bp [90]) [1 MEM [(struct Darray *)&testYear= sBC + 8B]+0 S8 A64]) --- Doesn't change assembly produced for given test, but alters debug output: --- @@ -1105,12 +1105,9 @@ testYearsBC: .LLST4: .quad .LVL7 .quad .LVL8-1 - .value 0xd - .byte 0xe - .long testYearsBC@dtpoff, 0 - .byte 0xe0 - .byte 0x23 - .uleb128 0x8 + .value 0x3 + .byte 0x76 + .sleb128 0 .byte 0x6 .quad 0 .quad 0 @@ -1148,15 +1145,12 @@ testYearsBC: .LLST6: .quad .LVL9 .quad .LVL9 - .value 0x11 + .value 0x7 .byte 0x50 .byte 0x93 .uleb128 0x8 - .byte 0xe - .long testYearsBC@dtpoff, 0 - .byte 0xe0 - .byte 0x23 - .uleb128 0x8 + .byte 0x76 + .sleb128 0 .byte 0x93 .uleb128 0x8 .quad 0 @@ -1167,15 +1161,12 @@ testYearsBC: .LLST7: .quad .LVL9 .quad .LVL9 - .value 0x11 + .value 0x7 .byte 0x50 .byte 0x93 .uleb128 0x8 - .byte 0xe - .long testYearsBC@dtpoff, 0 - .byte 0xe0 - .byte 0x23 - .uleb128 0x8 + .byte 0x76 + .sleb128 0 .byte 0x93 .uleb128 0x8 .quad 0 ---=