aboutsummaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-04-07 13:48:52 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-04-07 13:48:52 -0400
commit6ea2bd47dd50fdf50e5b71e7349dae094f2920fe (patch)
treeaaa87a15f5942f4f114e17e7f79c23571f506e9b /gcc/c.opt
parenta2dc5812ff7b8d195399c4f9513dcf0376eba4d5 (diff)
downloadgcc-6ea2bd47dd50fdf50e5b71e7349dae094f2920fe.zip
gcc-6ea2bd47dd50fdf50e5b71e7349dae094f2920fe.tar.gz
gcc-6ea2bd47dd50fdf50e5b71e7349dae094f2920fe.tar.bz2
re PR c++/25185 (deep typedef substitution in error message)
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. From-SVN: r145697
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index 40681bd..3f1cd13 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -716,6 +716,10 @@ fpreprocessed
C ObjC C++ ObjC++
Treat the input file as already preprocessed
+fpretty-templates
+C++ ObjC++
+-fno-pretty-templates Do not pretty-print template specializations as the template signature followed by the arguments
+
freplace-objc-classes
ObjC ObjC++
Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime