Skip to content
Snippets Groups Projects
Commit ebbcd0c6 authored by Paul Koning's avatar Paul Koning Committed by Richard Biener
Browse files

re PR middle-end/50189 (Wrong code error in -O2 [-fstrict-enums] compile, target independent)

2011-10-12  Paul Koning  <pkoning@gcc.gnu.org>

	PR tree-optimization/50189
	* tree-vrp.c (extract_range_from_assert): Use the type of
	the variable, not the limit.

	* g++.dg/torture/pr50189.C: New testcase.

From-SVN: r179857
parent 7e191522
No related branches found
No related tags found
No related merge requests found
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