[Bug c/42721] possible integer wrong code bug

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 14 09:48:00 GMT 2010



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

Author: jakub
Date: Thu Jan 14 09:48:01 2010
New Revision: 155888

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155888
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:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr42721.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/fold-const.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list