From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24868 invoked by alias); 15 Jan 2007 02:17:51 -0000 Received: (qmail 24836 invoked by uid 48); 15 Jan 2007 02:17:41 -0000 Date: Mon, 15 Jan 2007 02:17:00 -0000 Subject: [Bug preprocessor/30468] New: -M not fully chops dirname X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kaminaga at sm dot sony dot co dot jp" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg01182.txt.bz2 I see -M option for gcc-4.1.1 output chops dirname, but faces below problem. $ cat foo.c #include "foo.h" $ cat Include/foo.h /* empty */ $ gcc41 -M -I.//Include foo.c foo.o: foo.c /Include/foo.h ^ root? gcc-3.4.4 output was: $ gcc -M -I.//Include foo.c foo.o: foo.c .//Include/foo.h -- Summary: -M not fully chops dirname Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kaminaga at sm dot sony dot co dot jp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30468