Skip to content
Snippets Groups Projects
Commit 1987baa3 authored by Zdenek Dvorak's avatar Zdenek Dvorak Committed by Zdenek Dvorak
Browse files

re PR tree-optimization/45427 (Number of iteration analysis bogus)

	PR tree-optimization/45427
	* tree-ssa-loop-niter.c (number_of_iterations_ne_max): Rewritten.
	Handle the case that the exit is never taken correctly.
	(number_of_iterations_ne): Pass exit_must_be_taken to
	number_of_iterations_ne_max.

	* gcc.dg/tree-ssa/pr45427.c: New test.

From-SVN: r163659
parent 037f9973
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