diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index f8f9d4f2391..f85901fc6c7 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -2480,6 +2480,10 @@ redeclaration_error_message (tree newdecl, tree olddecl) } } + check_abi_tag_redeclaration + (olddecl, lookup_attribute ("abi_tag", DECL_ATTRIBUTES (olddecl)), + lookup_attribute ("abi_tag", DECL_ATTRIBUTES (newdecl))); + return NULL; } else if (TREE_CODE (newdecl) == TEMPLATE_DECL) |