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 c/42721] possible integer wrong code bug



------- Comment #9 from jakub at gcc dot gnu dot org  2010-01-14 09:47 -------
Subject: Bug 42721

Author: jakub
Date: Thu Jan 14 09:47:09 2010
New Revision: 155887

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155887
Log:
        PR c/42721
        Port from no-undefined-overflow branch
        2009-03-09  Richard Guenther  <rguenther@suse.de>

        * fold-const.c (add_double_with_sign): Fix unsigned overflow
        detection.

        * gcc.c-torture/execute/pr42721.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr42721.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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