From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2100) id 7108A39540E0; Sat, 22 Aug 2020 21:58:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7108A39540E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598133482; bh=bj8qwqA8KtoBO8WtXxwtSVZ6/NKtXN0p3GPNoOTxNWw=; h=From:To:Subject:Date:From; b=v6kDQgqLna/tpmqn7SLn4ILv39ZQDvnfMPgAGQhRpnQ0OKOkjd0mt6mt/w5rhdGVg +A5LcZ+4rVngfCVpRanm0YAeGCwqxkDaDOP2DUpGTmXSnVMcu9QiCLvsVHdlqYjFLg Drbabxg17nWFPOSetBE3S6qpZ7dEiSLlUCVjdDPc= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Giuliano Belinassi To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/autopar_devel] Fix missing assemble_external in ASM_OUTPUT_FDESC X-Act-Checkin: gcc X-Git-Author: Andreas Schwab X-Git-Refname: refs/heads/devel/autopar_devel X-Git-Oldrev: cd894809c5eccef1db1417efb828e83f747a8332 X-Git-Newrev: e5fae88ca141baae113a0ecf60205f1fe8177e20 Message-Id: <20200822215802.7108A39540E0@sourceware.org> Date: Sat, 22 Aug 2020 21:58:02 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2020 21:58:02 -0000 https://gcc.gnu.org/g:e5fae88ca141baae113a0ecf60205f1fe8177e20 commit e5fae88ca141baae113a0ecf60205f1fe8177e20 Author: Andreas Schwab Date: Fri May 15 17:38:30 2020 +0200 Fix missing assemble_external in ASM_OUTPUT_FDESC When TARGET_VTABLE_USES_DESCRIPTORS is defined then function pointers in the vtable are output by ASM_OUTPUT_FDESC. The only current user of this is ia64, but its implementation of ASM_OUTPUT_FDESC lacks a call to assemble_external. Thus if there is no other reference to the function the weak declaration for it will be missing. PR target/95154 * config/ia64/ia64.h (ASM_OUTPUT_FDESC): Call assemble_external. Diff: --- gcc/config/ia64/ia64.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 8462535d749..d5acc62cd87 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -963,6 +963,7 @@ do { \ do { \ if ((PART) == 0) \ { \ + assemble_external (DECL); \ if (TARGET_ILP32) \ fputs ("\tdata8.ua @iplt(", FILE); \ else \