re PR middle-end/82123 (spurious -Wformat-overflow warning for converted vars)
authorJeff Law <law@redhat.com>
Tue, 20 Feb 2018 18:59:22 +0000 (11:59 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 20 Feb 2018 18:59:22 +0000 (11:59 -0700)
commite506dc87a0d7d0f55a6b727885e170dcc2948014
tree68c435e28c54aafe4bc241a5563b5ae14e3adb3d
parent04946c6b905572f35f06de34460d20f05203a033
re PR middle-end/82123 (spurious -Wformat-overflow warning for converted vars)

PR middle-end/82123
PR tree-optimization/81592
PR middle-end/79257
* gimple-ssa-sprintf.c (format_integer): Query EVRP range analyzer
for range data rather than using global data.

* gcc.dg/pr81592.c: New test.
* gcc.dg/pr82123.c: New test.

From-SVN: r257857
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr81592.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr82123.c [new file with mode: 0644]