From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3749 invoked by alias); 6 Feb 2015 13:56:18 -0000 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 Received: (qmail 31237 invoked by uid 55); 6 Feb 2015 13:56:14 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/64837] lto plugin doesn't call ld_plugin_release_input_file Date: Fri, 06 Feb 2015 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00572.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64837 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Feb 6 13:55:42 2015 New Revision: 220477 URL: https://gcc.gnu.org/viewcvs?rev=220477&root=gcc&view=rev Log: Revert the PR lto/64837 fix It breaks gold: % echo "int main () {}" | gcc -fuse-ld=gold -flto -x c++ - ld.gold: internal error in remove_writer, at token.h:132 collect2: error: ld returned 1 exit status * lto-plugin.c (release_input_file): Removed. (claim_file_handler): Don't call release_input_file. (onload): Don't set release_input_file. Modified: trunk/lto-plugin/ChangeLog trunk/lto-plugin/lto-plugin.c