public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jack Howarth <howarth.at.gcc@gmail.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>,
	Mike Stump <mikestump@comcast.net>
Subject: [PATCH] PR debug/61352 back port from mainline
Date: Sun, 12 Apr 2015 18:11:00 -0000	[thread overview]
Message-ID: <CAJMcOU-ZakOBa_L8m6dRQW4kX9YPPxLFLj-ysGyaFzkemb5HGg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

   The attached patch is a back port of the change from
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211067 for
gcc-4_9-branch. Bootstrap and regression tested on
x86_64-apple-darwin14 with Xcode 6.3. Okay for gcc-4_9-branch?
           Jack

[-- Attachment #2: PR61352_backport.diff --]
[-- Type: text/plain, Size: 603 bytes --]

2015-04-12  Jack Howarth  <howarth.at.gcc@gmail.com>

	Backport from mainline
	2014-05-29  Mike Stump  <mikestump@comcast.net>
	PR debug/61352
	* collect2.c (maybe_run_lto_and_relink): Be sure to always run
	post ld passes when lto is used.

Index: gcc/collect2.c
===================================================================
--- gcc/collect2.c	(revision 222021)
+++ gcc/collect2.c	(working copy)
@@ -848,6 +848,8 @@ maybe_run_lto_and_relink (char **lto_ld_
       fork_execute ("ld", lto_ld_argv);
       post_ld_pass (false);
     }
+  else
+    post_ld_pass (true);
 }
 \f
 /* Main program.  */

             reply	other threads:[~2015-04-12 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12 18:11 Jack Howarth [this message]
2015-05-06  0:35 ` Mike Stump
2015-05-07 18:03   ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJMcOU-ZakOBa_L8m6dRQW4kX9YPPxLFLj-ysGyaFzkemb5HGg@mail.gmail.com \
    --to=howarth.at.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mikestump@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).