This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/82123] [7/8 regression] spurious -Wformat-overflow warning for converted vars


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82123

--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Feb 20 18:59:22 2018
New Revision: 257857

URL: https://gcc.gnu.org/viewcvs?rev=257857&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr81592.c
    trunk/gcc/testsuite/gcc.dg/pr82123.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-sprintf.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]