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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 6b2156d..dab7dc8 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -261,10 +261,7 @@ build_zero_init (tree type, tree nelts, bool static_storage_p)
/* In all cases, the initializer is a constant. */
if (init)
- {
- TREE_CONSTANT (init) = 1;
- TREE_INVARIANT (init) = 1;
- }
+ TREE_CONSTANT (init) = 1;
return init;
}