OSDN Git Service

2010-07-29 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jul 2010 10:59:54 +0000 (10:59 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jul 2010 10:59:54 +0000 (10:59 +0000)
commitcb58739352379082da7ed1f128c15e8ef4ed42a7
tree6a70422b360d8f8cb89bc1cd1f4fee1cfffc246a
parent930c7ad257229a04d3c69a466de4f9157690a7cc
2010-07-29  Richard Guenther  <rguenther@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162673 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr45034.c [new file with mode: 0644]