From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29942 invoked by alias); 29 Jan 2009 09:56:40 -0000 Received: (qmail 29908 invoked by uid 48); 29 Jan 2009 09:56:29 -0000 Date: Thu, 29 Jan 2009 09:56:00 -0000 Message-ID: <20090129095629.29907.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/39013] Missing @PLT when -fpie is used In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg03190.txt.bz2 ------- Comment #10 from rguenth at gcc dot gnu dot org 2009-01-29 09:56 ------- No compiler with -fpie support manages to do this "correct". Not a regression. IMHO this is invalid. 6.7.4/6 "... If a function is declared with an inline function specifier, then it shall also be defined in the same translation unit." which is obviously not the case here. That is C99 of course, so you might argue that for GNU C89 the situation should be different, but then the frontend should properly mark the declaration extern. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |c Keywords| |accepts-invalid Known to fail| |3.4.6 Summary|[4.3/4.4 regression] Missing|Missing @PLT when -fpie is |@PLT when -fpie is used |used http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39013