From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27018 invoked by alias); 10 Oct 2002 20:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 27000 invoked by uid 71); 10 Oct 2002 20:06:01 -0000 Resent-Date: 10 Oct 2002 20:06:01 -0000 Resent-Message-ID: <20021010200601.26999.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, dje@watson.ibm.com Received: (qmail 25139 invoked by uid 61); 10 Oct 2002 20:03:19 -0000 Message-Id: <20021010200319.25138.qmail@sources.redhat.com> Date: Thu, 10 Oct 2002 13:06:00 -0000 From: dje@watson.ibm.com Reply-To: dje@watson.ibm.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: preprocessor/8190: Failed compilation deletes -MD dependency file X-SW-Source: 2002-10/txt/msg00420.txt.bz2 List-Id: >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: