Skip to content
Snippets Groups Projects
Commit e57f2b41 authored by Kazu Hirata's avatar Kazu Hirata Committed by Kazu Hirata
Browse files

re PR tree-optimization/22117 (VRP thinks <ptr type> + <ptr type> is always nonnull.)

gcc/
	PR tree-optimization/22117
	* tree-vrp.c (extract_range_from_binary_expr): Compute a
	correct range when adding two pointers.

testsuite/
	PR tree-optimization/22117
	* gcc.dg/tree-ssa/pr22117.c: New.

From-SVN: r101272
parent a31de501
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