http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41159

--- Comment #22 from Uros Bizjak <ubizjak at gmail dot com> 2011-12-21 07:21:38 
UTC ---
Hardly to believe, but alpha finished --with-build-config=bootstrap-lto build,
with lto crippled by the following patch:

Index: lto-wrapper.c
===================================================================
--- lto-wrapper.c       (revision 182526)
+++ lto-wrapper.c       (working copy)
@@ -581,7 +581,7 @@ run_gcc (unsigned argc, char *argv[])
       switch (option->opt_index)
        {
        case OPT_o:
-         linker_output = option->arg;
+         /* linker_output = option->arg; */
          /* We generate new intermediate output, drop this arg.  */
          continue;

The results of this experiment are at [1].

The failing testcase works as well, so the patch certainly fixes the bug and
doesn't introduce any problems.

(I can take care for backport of the patch to 4.6 and 4.5 branches).

[1] http://gcc.gnu.org/ml/gcc-testresults/2011-12/msg02168.html

Reply via email to