* init.c (build_new_1): Don't test TREE_CONSTANT
of INTEGER_CST.
From-SVN: r191803
+2012-09-27 Jakub Jelinek <jakub@redhat.com>
+
+ * init.c (build_new_1): Don't test TREE_CONSTANT
+ of INTEGER_CST.
+
2012-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54526
{
tree inner_nelts = array_type_nelts_top (elt_type);
tree inner_nelts_cst = maybe_constant_value (inner_nelts);
- if (TREE_CONSTANT (inner_nelts_cst)
- && TREE_CODE (inner_nelts_cst) == INTEGER_CST)
+ if (TREE_CODE (inner_nelts_cst) == INTEGER_CST)
{
bool overflow;
double_int result = TREE_INT_CST (inner_nelts_cst)