This patch, relative to a tree with
<http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00949.html> (pending
Fortran and Java review) applied, arranges for -MD and -MMD to be
supported by both the driver and cc1 with different conventions about
whether those options take an argument, for compatibility with the
"several projects that rely on -Wp,-MD or -Wp,-MMD" mentioned in
<http://gcc.gnu.org/ml/gcc/2010-08/msg00220.html>.
Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to
commit?
fortran:
2010-08-13 Joseph Myers<joseph@codesourcery.com>
* lang.opt (MDX): Change back to MD. Mark NoDriverArg instead of
RejectDriver.
(MMDX): Change back to MMD. Mark NoDriverArg instead of
RejectDriver.
* cpp.c (gfc_cpp_handle_option): Use OPT_MD and OPT_MMD instead of
OPT_MDX and OPT_MMDX.