diff options
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r-- | gcc/c-family/c-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index 83d5dee30e0..6bf4051622d 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -619,6 +619,13 @@ extern const char *constant_string_class_name; /* C++ language option variables. */ +/* Return TRUE if one of {flag_abi_version,flag_abi_compat_version} is + less than N and the other is at least N, for use by -Wabi. */ +#define abi_version_crosses(N) \ + (abi_version_at_least(N) \ + != (flag_abi_compat_version == 0 \ + || flag_abi_compat_version >= (N))) + /* Nonzero means generate separate instantiation control files and juggle them at link time. */ |