diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de92a3e..bc4b4db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-07-05 Jan Hubicka <jh@suse.cz> + + * tree-ssa-loop-niter.c (nowrap_type_p): Use ANY_INTEGRAL_TYPE_P. + 2016-07-05 Jiong Wang <jiong.wang@arm.com> * lra-constraints.c (process_alt_operands): Don't add spilling cost for diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 32fe2f9..0723752 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -4105,7 +4105,7 @@ n_of_executions_at_most (gimple *stmt, bool nowrap_type_p (tree type) { - if (INTEGRAL_TYPE_P (type) + if (ANY_INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_UNDEFINED (type)) return true; |