Commit c1b37eda by Eric Botcazou Committed by Arnaud Charlet

utils2.c ((build_binary_op): Don't set TREE_THIS_NOTRAP on array references here...

	* gcc-interface/utils2.c ((build_binary_op): Don't set TREE_THIS_NOTRAP
	on array references here, now done more selectively in trans.c.

From-SVN: r213356
parent 20bebd4c
2014-07-31 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils2.c ((build_binary_op): Don't set TREE_THIS_NOTRAP
on array references here, now done more selectively in trans.c.
2014-07-31 Doug Rupp <rupp@adacore.com> 2014-07-31 Doug Rupp <rupp@adacore.com>
* gcc-interface/misc.c (gnat_init_gcc_fp(): Set flag_errno_math to 0. * gcc-interface/misc.c (gnat_init_gcc_fp(): Set flag_errno_math to 0.
......
...@@ -1177,7 +1177,6 @@ build_binary_op (enum tree_code op_code, tree result_type, ...@@ -1177,7 +1177,6 @@ build_binary_op (enum tree_code op_code, tree result_type,
; ;
else if (op_code == ARRAY_REF || op_code == ARRAY_RANGE_REF) else if (op_code == ARRAY_REF || op_code == ARRAY_RANGE_REF)
{ {
TREE_THIS_NOTRAP (result) = 1;
if (TYPE_VOLATILE (operation_type)) if (TYPE_VOLATILE (operation_type))
TREE_THIS_VOLATILE (result) = 1; TREE_THIS_VOLATILE (result) = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment