------- Comment #16 from rguenth at gcc dot gnu dot org  2010-07-29 11:00 
-------
Subject: Bug 45034

Author: rguenth
Date: Thu Jul 29 10:59:54 2010
New Revision: 162673

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162673
Log:
2010-07-29  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:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr45034.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/convert.c
    trunk/gcc/testsuite/ChangeLog


-- 


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

Reply via email to