[Bug preprocessor/39533] -MM may list a header file twice
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 23 21:44:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list