]> git.ipfire.org Git - thirdparty/gcc.git/commit
Revert the PR lto/64837 fix
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Feb 2015 13:55:42 +0000 (13:55 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Feb 2015 13:55:42 +0000 (13:55 +0000)
commit73508877f03771509edbb962b08eaa9e4b227e6f
tree93aa8793d2c6b5abbf46ddfbca7ef0f2cf37bfd0
parentbb779bf045d89f7b5244d53a91488ed42aef6758
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220477 138bc75d-0d04-0410-961f-82ee72b054a4
lto-plugin/ChangeLog
lto-plugin/lto-plugin.c