This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to document non-support for -fcond-mismatch for C++
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Patch to document non-support for -fcond-mismatch for C++
- From: Jeffrey A Law <law at redhat dot com>
- Date: Tue, 09 Jan 2001 21:23:36 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <Pine.LNX.4.30.0101051839010.12556-100000@kern.srcf.societies.cam.
ac.uk>you write:
> When looking at the many C/C++ common options that ought to go in
> c-common.[ch] (even if the implementation is separate for the front
> ends, I think it is worthwhile to put the flag variable in common code
> where the meaning of the flag is the same, and initialise it in
> lang_init_options if different values are needed in the different
> front ends), I noticed that -fcond-mismatch now has no effect in the
> C++ front end. Accordingly, this patch makes it explicitly
> unsupported for C++.
>
> Bootstrapped with no regressions on i686-pc-linux-gnu. OK to commit?
>
> 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * invoke.texi: Document that -fcond-mismatch isn't supported for
> C++.
>
> 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * cp-tree.h (flag_cond_mismatch): Don't declare.
> * decl2.c (flag_cond_mismatch): Don't define.
> (lang_f_options): Remove cond-mismatch.
> (unsupported_options): Add cond-mismatch.
Approved. Please install.
Thanks,
jeff