Implement -Wp,-MD compatibility
Tobias Burnus
burnus@net-b.de
Mon Aug 16 09:42:00 GMT 2010
On 08/14/2010 01:21 AM, Joseph S. Myers wrote:
> 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.
That part is OK - thanks for the patch and for taking user concerns into
account.
Tobias
PS: Please CC fortran@ if you request Fortran reviews, it increases the
chance of faster review.
More information about the Gcc-patches
mailing list