From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30871 invoked by alias); 23 Mar 2009 21:44:47 -0000 Received: (qmail 30830 invoked by uid 48); 23 Mar 2009 21:44:32 -0000 Date: Mon, 23 Mar 2009 21:44:00 -0000 Message-ID: <20090323214432.30829.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug preprocessor/39533] -MM may list a header file twice In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" 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: 2009-03/txt/msg01637.txt.bz2 ------- Comment #2 from hjl dot tools at gmail dot com 2009-03-23 21:44 ------- Created an attachment (id=17527) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17527&action=view) A testcase # gcc -MM x.c -Iinclude x.o: x.c foo.h include/ansidecl.h include/libiberty.h include/ansidecl.h include/ansidecl.h is listed twice. Icc 11.1 generates: [hjl@gnu-6 dep-1]$ /opt/intel/cce/11.1/bin/icc -MM x.c -Iinclude x.o: x.c foo.h include/ansidecl.h include/libiberty.h [hjl@gnu-6 dep-1]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39533