Skip to content
Snippets Groups Projects
Commit f29deac9 authored by Sebastian Pop's avatar Sebastian Pop Committed by Sebastian Pop
Browse files

re PR tree-optimization/41497 (apparent integer wrong code bug)

	PR tree-optimization/41497
	* tree-scalar-evolution.c (analyze_evolution_in_loop): Return
	chrec_dont_know if the evolution function returned by follow_ssa_edge
	is constant in the analyzed loop and is not compatible with the
	initial value before the loop.
	* tree-chrec.h (no_evolution_in_loop_p): Call STRIP_NOPS.

	* gcc.dg/tree-ssa/pr41497.c: New.

From-SVN: r153441
parent f4e18810
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment