------- Comment #18 from rguenth at gcc dot gnu dot org  2010-08-08 15:50 
-------
Subject: Bug 45034

Author: rguenth
Date: Sun Aug  8 15:50:17 2010
New Revision: 163009

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163009
Log:
2010-08-08  Richard Guenther  <rguent...@suse.de>

        PR middle-end/45034
        * convert.c (convert_to_integer): Always use an unsigned
        type for narrowed negate and bitwise not.

        * gcc.c-torture/execute/pr45034.c: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr45034.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/convert.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to