This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: use -ftemplate-depth= instead of -ftemplate-depth-
- From: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>
- Date: Wed, 24 Feb 2010 09:02:13 +0100
- Subject: Re: use -ftemplate-depth= instead of -ftemplate-depth-
- References: <6c33472e1002200414w40d77972k1683faf8c0f10c9f@mail.gmail.com>
PING http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00820.html
On 20 February 2010 13:14, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote:
> Like it happened with Wlarger-than, ftemplate-depth does not follow
> usual GNU conventions for parameter switches. This patch fixes this
> but maintains that old option for backwards compatibility.
>
> Bootstrapped and regression tested on x86_64-linux-gnu.
>
> OK to commit?
>
>
>
> 2010-02-20 ?Manuel López-Ibáñez ?<manu@gcc.gnu.org>
>
> ? ? ? ?* c.opt (-ftemplate-depth=): New.
> ? ? ? ?(-ftemplate-depth-): Deprecate.
> ? ? ? ?* optc-gen.awk: Handle -ftemplate-depth=.
> ? ? ? ?* opth-gen.awk: Likewise.
> ? ? ? ?* c-opts.c (c_common_handle_option): Likewise.
> ? ? ? ?* doc/invoke.texi (-ftemplate-depth-): Replace with
> ? ? ? ?-ftemplate-depth=.
> cp/
> ? ? ? ?* pt.c (push_tinst_level): Replace -ftemplate-depth- with
> ? ? ? ?-ftemplate-depth=.
>