summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index f15dbf18bf5..8cf6aa47ce8 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -737,6 +737,21 @@ extern int flag_permissive;
extern int flag_enforce_eh_specs;
+/* The version of the C++ ABI in use. The following values are
+ allowed:
+
+ -1: The version of the ABI believed most conformant with the
+ C++ ABI specification. This ABI may change as bugs are
+ discovered and fixed. Therefore, -1 will not necessarily
+ indicate the same ABI in different versions of G++.
+
+ 0: The version of the ABI first used in G++ 3.2.
+
+ Additional positive integers will be assigned as new versions of
+ the ABI become the default version of the ABI. */
+
+extern int flag_abi_version;
+
/* Nonzero means warn about things that will change when compiling
with an ABI-compliant compiler. */