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 tree-optimization/63445] [5 Regression] request: make -Wstrict-overflow avoid a class of false positives


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

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Oct  9 08:20:53 2014
New Revision: 216028

URL: https://gcc.gnu.org/viewcvs?rev=216028&root=gcc&view=rev
Log:
2014-10-09  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/63445
    * tree-vrp.c (simplify_cond_using_ranges): Only warn about
    overflow for non-equality compares.

    * gcc.dg/Wstrict-overflow-26.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/Wstrict-overflow-26.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


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