gimple-ssa-sprintf.c (format_integer): Set knownrange when it's known.
authorMartin Sebor <msebor@redhat.com>
Mon, 1 May 2017 18:45:46 +0000 (18:45 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Mon, 1 May 2017 18:45:46 +0000 (12:45 -0600)
commit4d82d0bc4350ce18a5fb64049d24e98dee1235f9
treec201cd6842a51e06c9037be584868c3321320aaa
parentd539a57b063ba16628aa3c58f211b16fadde2afb
gimple-ssa-sprintf.c (format_integer): Set knownrange when it's known.

gcc/ChangeLog:
* gimple-ssa-sprintf.c (format_integer): Set knownrange when it's
known.

gcc/testsuite/ChangeLog:
* tree-ssa/builtin-sprintf-warn-18.c: Adjust to avoid failures
on ILP32 targets.

From-SVN: r247444
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c