2015-10-29 Tom de Vries <tom@codesourcery.com>
* fold-const.c (fold_unary_loc): Remove folding inhibition for restrict
types.
From-SVN: r229537
+2015-10-29 Tom de Vries <tom@codesourcery.com>
+
+ * fold-const.c (fold_unary_loc): Remove folding inhibition for restrict
+ types.
+
2015-10-29 Nathan Sidwell <nathan@codesourcery.com>
* omp-low.c (lower_omp_target): Remove unreachable code & merge
that this happens when X or Y is NOP_EXPR or Y is INTEGER_CST. */
if (POINTER_TYPE_P (type)
&& TREE_CODE (arg0) == POINTER_PLUS_EXPR
- && (!TYPE_RESTRICT (type) || TYPE_RESTRICT (TREE_TYPE (arg0)))
&& (TREE_CODE (TREE_OPERAND (arg0, 1)) == INTEGER_CST
|| TREE_CODE (TREE_OPERAND (arg0, 0)) == NOP_EXPR
|| TREE_CODE (TREE_OPERAND (arg0, 1)) == NOP_EXPR))