diff options
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 5b0abfcd738..e6d4274ebb2 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1884,7 +1884,7 @@ cplus_decl_attributes (decl, attributes, prefix_attributes) if (TREE_CODE (decl) == TEMPLATE_DECL) decl = DECL_TEMPLATE_RESULT (decl); - decl_attributes (decl, attributes, prefix_attributes); + decl_attributes (decl, chainon (attributes, prefix_attributes)); if (TREE_CODE (decl) == TYPE_DECL) SET_IDENTIFIER_TYPE_VALUE (DECL_NAME (decl), TREE_TYPE (decl)); |