aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r--gcc/cp/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 238b7fc..bb07c1b 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -74,6 +74,7 @@ void init_init_processing ()
/* Use the biggest alignment supported by the target to prevent operator
new from returning misaligned pointers. */
TYPE_ALIGN (BI_header_type) = BIGGEST_ALIGNMENT;
+ TYPE_USER_ALIGN (BI_header_type) = 0;
finish_builtin_type (BI_header_type, "__new_cookie", fields,
0, BI_header_type);
BI_header_size = size_in_bytes (BI_header_type);