From 1d9ffce9c5e5764aafc22922212ea2bd7408d1df Mon Sep 17 00:00:00 2001 From: Andrew Macleod Date: Tue, 10 Feb 1998 12:31:27 +0000 Subject: [PATCH] Add -fsquangle to option processing list. From-SVN: r17829 --- gcc/cp/decl2.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index c9e11f49e61..eff124fbee8 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -416,11 +416,17 @@ int max_tinst_depth = 17; /* The name-mangling scheme to use. Must be 1 or greater to support template functions with identical types, but different template arguments. */ -int name_mangling_version = 1; +int name_mangling_version = 2; /* Nonzero means that guiding declarations are allowed. */ int flag_guiding_decls; +/* Nonzero if squashed mangling is to be performed. + This uses the B and K codes to reference previously seen class types + and class qualifiers. */ +int flag_do_squangling; + + /* Table of language-dependent -f options. STRING is the option name. VARIABLE is the address of the variable. ON_VALUE is the value to store in VARIABLE @@ -436,6 +442,7 @@ static struct { char *string; int *variable; int on_value;} lang_f_options[] = {"short-enums", &flag_short_enums, 1}, {"short-double", &flag_short_double, 1}, {"cond-mismatch", &flag_cond_mismatch, 1}, + {"squangle", &flag_do_squangling, 1}, {"asm", &flag_no_asm, 0}, {"builtin", &flag_no_builtin, 0}, {"ident", &flag_no_ident, 0}, -- 2.30.2