(expand_end_case): Correct test for sign extending
unsigned constant index when creating index_expr. From-SVN: r7175
This commit is contained in:
parent
3375e6626a
commit
e9a042b6a1
@ -4382,7 +4382,7 @@ expand_end_case (orig_index)
|
||||
{
|
||||
index_expr
|
||||
= build_int_2 (INTVAL (index),
|
||||
!unsignedp && INTVAL (index) >= 0 ? 0 : -1);
|
||||
unsignedp || INTVAL (index) >= 0 ? 0 : -1);
|
||||
index_expr = convert (TREE_TYPE (index_expr), index_expr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user