------- Comment #25 from jason at gcc dot gnu dot org  2009-04-07 17:49 -------
Subject: Bug 25185

Author: jason
Date: Tue Apr  7 17:48:52 2009
New Revision: 145697

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145697
Log:
        PR c++/25185
        * c-common.h, c-common.c: Add flag_pretty_templates.
        * c-opts.c (c_common_handle_option): Set it.
        * c.opt: Add -fno-pretty-templates.
        * doc/invoke.texi (C++ Dialect Options): Likewise.

        * error.c (dump_function_decl): Don't pretty-print templates
        if -fno-pretty-templates.
        (count_non_default_template_args): Print all args if
        -fno-pretty-templates.

Added:
    trunk/gcc/testsuite/g++.dg/template/error40.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/c-common.h
    trunk/gcc/c-opts.c
    trunk/gcc/c.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25185

Reply via email to