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/48022] [4.6 Regression] -Wstrict-overflow warning on code that doesn't have overflows


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48022

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-08 10:43:14 UTC ---
Author: jakub
Date: Tue Mar  8 10:43:10 2011
New Revision: 170772

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170772
Log:
    PR tree-optimization/48022
    * fold-const.c (fold_comparison): Don't call fold_overflow_warning
    for EQ/NE_EXPR.

    * gcc.dg/pr48022-1.c: New test.
    * gcc.dg/pr48022-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr48022-1.c
    trunk/gcc/testsuite/gcc.dg/pr48022-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.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]