Summary: | "gcc -v" doesn't work with lto | ||
---|---|---|---|
Product: | gcc | Reporter: | H.J. Lu <hjl.tools> |
Component: | lto | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 4.5.0 | ||
Target Milestone: | --- | ||
URL: | http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00116.html | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2010-01-02 20:26:26 |
Description
H.J. Lu
2010-01-02 19:13:42 UTC
Confirmed. But -save-temps also doesn't work completely for -fwhopr (and you need to set the collect2 env vars for -fwhopr). The proper fix for 4.6 is to move most of the LTO handling to the gcc driver, away from collect2, lto-wrapper and lto1. A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00116.html Subject: Bug 42581 Author: hjl Date: Mon Jan 4 14:42:38 2010 New Revision: 155616 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155616 Log: Turn on trace in collect2 if needed 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> PR lto/42581 * collect2.c (main): Turn on trace in collect2 if -v is passed to gcc with LTO. Modified: trunk/gcc/ChangeLog trunk/gcc/collect2.c I am marking this one fixed. |