]> gcc.gnu.org Git - gcc.git/commitdiff
Add -fsquangle to option processing list.
authorAndrew Macleod <amacleod@gcc.gnu.org>
Tue, 10 Feb 1998 12:31:27 +0000 (12:31 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Tue, 10 Feb 1998 12:31:27 +0000 (12:31 +0000)
From-SVN: r17829

gcc/cp/decl2.c

index c9e11f49e61906c58fe3f5fd7bd35b068bba23e9..eff124fbee836087af2342719dd4b89d208f57f8 100644 (file)
@@ -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},
This page took 0.066973 seconds and 5 git commands to generate.