aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Macleod <amacleod@gcc.gnu.org>1998-02-10 12:31:27 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>1998-02-10 12:31:27 +0000
commit1d9ffce9c5e5764aafc22922212ea2bd7408d1df (patch)
treee80d5235b6ea5c95fe3052959881ab6783bca840 /gcc
parent727e39c7ffae766b3a74d9203f951b43c8d53aed (diff)
downloadgcc-1d9ffce9c5e5764aafc22922212ea2bd7408d1df.zip
gcc-1d9ffce9c5e5764aafc22922212ea2bd7408d1df.tar.gz
gcc-1d9ffce9c5e5764aafc22922212ea2bd7408d1df.tar.bz2
Add -fsquangle to option processing list.
From-SVN: r17829
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/decl2.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index c9e11f4..eff124f 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},