[Bug lto/48467] New: [LTO/driver] Anomalous behavior of -save-temps
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 18:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48467
Summary: [LTO/driver] Anomalous behavior of -save-temps
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
Created attachment 23884
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23884
DIFF file with 4 tests
1. After running the 1st test, notice the absence of one generated assembler
file (1.s), which is deleted by lto1. In toplev.c,
1851 if (flag_wpa)
1852 unlink_if_ordinary (asm_file_name);
2. As the 2nd and 3rd tests show, it can also be misused as an output file for
lto1, so its original, written by cc1, content gets lost.
3. The 4th test gives good, expected results.
More information about the Gcc-bugs
mailing list