public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* preprocessor/8190: Failed compilation deletes -MD dependency file
@ 2002-10-10 13:06 dje
  0 siblings, 0 replies; 2+ messages in thread
From: dje @ 2002-10-10 13:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8190
>Category:       preprocessor
>Synopsis:       Failed compilation deletes -MD dependency file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 10 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     dje@watson.ibm.com
>Release:        gcc version 3.2.1 20020920 (prerelease)
>Organization:
>Environment:
powerpc64-linux cross-compiler from AIX and x86-linux
>Description:
If one compiles a source file using the -MD option to create
a ".d" dependency file and specifies an output file, then if the source file contains an error, gcc-3.2 will delete the dependency .d file and leave the .o object file. Once the failure is corrected, Make may no longer have the complete dependency information to recognize that the object file needs to be rebuilt.  Gcc-2.95 did not delete
the dependency file upon compilation failure.
>How-To-Repeat:
gcc -c -MD foo.C -o foo.o
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: preprocessor/8190: Failed compilation deletes -MD dependency file
@ 2002-10-12 10:12 neil
  0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2002-10-12 10:12 UTC (permalink / raw)
  To: dje, gcc-bugs, gcc-prs, nobody

Synopsis: Failed compilation deletes -MD dependency file

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Sat Oct 12 10:12:57 2002
State-Changed-Why:
    Duplicate of PR 7862.
    Fixed by not deleting the .d file on interruption.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8190


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-12 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-10 13:06 preprocessor/8190: Failed compilation deletes -MD dependency file dje
2002-10-12 10:12 neil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).