summaryrefslogtreecommitdiffstats
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index fac4a3891a9..2ec3448d636 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -5539,7 +5539,7 @@ finish_struct (t, attributes)
as necessary. */
unreverse_member_declarations (t);
- cplus_decl_attributes (t, attributes, NULL_TREE);
+ cplus_decl_attributes (&t, attributes, NULL_TREE, 0);
/* Nadger the current location so that diagnostics point to the start of
the struct, not the end. */
OpenPOWER on IntegriCloud