r141460 - in /branches/lto: gcc/collect2.c gcc/...

simonb@gcc.gnu.org simonb@gcc.gnu.org
Thu Oct 30 09:57:00 GMT 2008


Author: simonb
Date: Thu Oct 30 09:57:13 2008
New Revision: 141460

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141460
Log:

	* lto.c (lto_wpa_write_files): Create intermediate files with
	make_cwd_temp_file().
	(lto_maybe_unlink): New.  Delete intermediate WPA files unless
	WPA_SAVE_LTRANS is set.
	(lto_main): Call lto_maybe_unlink() for intermediate WPA files.
	* ltrans-driver: Do not strip directory from output files.

	* libiberty.h (make_cwd_temp_file): New declaration.

	* make-temp-file.c (make_temp_file_common): Split out from original
	make_temp_file() function.
	* (make_temp_file): Call make_temp_file_common() with tmp dir.
	* (make_cwd_temp_file): New.  Call make_temp_file_common() with "./".


Modified:
    branches/lto/gcc/collect2.c
    branches/lto/gcc/lto/ChangeLog
    branches/lto/gcc/lto/lto.c
    branches/lto/gcc/lto/ltrans-driver
    branches/lto/include/ChangeLog
    branches/lto/include/libiberty.h
    branches/lto/libiberty/ChangeLog
    branches/lto/libiberty/make-temp-file.c



More information about the Gcc-cvs mailing list