Red Hat Bugzilla – Bug 23254
Combining -MD and -traditional is broken
Last modified: 2007-04-18 12:30:29 EDT
$ rpm -q gcc
$ gcc -MD -traditional foo.c
/usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0 [switches] input output
I've just submitted patch to support -MD, -MMD and -MG in tradcpp0 to
gcc-patches, will see if it gets approved.
Should be fixed in 2.96-70 and above.