This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/35697] New: -MF should create dependency file atomically
- From: "rwild at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2008 20:46:19 -0000
- Subject: [Bug preprocessor/35697] New: -MF should create dependency file atomically
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
It would be nice if 'gcc -MF depfile ...' created/updated depfile
atomically. That would allow 'make' to directly include it, and
not end up in a broken build if gcc is interrupted.
It would be even nicer if this fix was accompanied by some means
to detect it using a feature test (e.g., an autoconf test).
--
Summary: -MF should create dependency file atomically
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rwild at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35697