Commit 2105be5a by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/59561 (warning: iteration 4 invokes undefined behavior)

	PR middle-end/59561
	* cfgloopmanip.c (copy_loop_info): If
	loop->warned_aggressive_loop_optimizations, make sure
	the flag is set in target loop too.

From-SVN: r207065
parent b72271b9
2014-01-25 Jakub Jelinek <jakub@redhat.com>
PR middle-end/59561
* cfgloopmanip.c (copy_loop_info): If
loop->warned_aggressive_loop_optimizations, make sure
the flag is set in target loop too.
2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
* builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
......
......@@ -1022,6 +1022,8 @@ copy_loop_info (struct loop *loop, struct loop *target)
target->any_estimate = loop->any_estimate;
target->nb_iterations_estimate = loop->nb_iterations_estimate;
target->estimate_state = loop->estimate_state;
target->warned_aggressive_loop_optimizations
|= loop->warned_aggressive_loop_optimizations;
}
/* Copies copy of LOOP as subloop of TARGET loop, placing newly
......
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