aboutsummaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 418753c..afba2de 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -400,12 +400,6 @@ ctor_for_folding (tree decl)
if (!VAR_P (decl) && TREE_CODE (decl) != CONST_DECL)
return error_mark_node;
- /* Static constant bounds are created to be
- used instead of constants and therefore
- do not let folding it. */
- if (POINTER_BOUNDS_P (decl))
- return error_mark_node;
-
if (TREE_CODE (decl) == CONST_DECL
|| DECL_IN_CONSTANT_POOL (decl))
return DECL_INITIAL (decl);