From: Jan Hubicka Date: Tue, 5 Jul 2016 16:13:46 +0000 (+0200) Subject: * tree-ssa-loop-niter.c (nowrap_type_p): Use ANY_INTEGRAL_TYPE_P. X-Git-Tag: basepoints/gcc-8~5875 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=341c5337bfb2f281cbb377b3bbdbbdf503f3520e;p=thirdparty%2Fgcc.git * tree-ssa-loop-niter.c (nowrap_type_p): Use ANY_INTEGRAL_TYPE_P. From-SVN: r238011 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de92a3efb8e1..bc4b4db89443 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-07-05 Jan Hubicka + + * tree-ssa-loop-niter.c (nowrap_type_p): Use ANY_INTEGRAL_TYPE_P. + 2016-07-05 Jiong Wang * 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 32fe2f91eddc..0723752fbdc3 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;