OSDN Git Service

PR lto/49123
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 May 2011 20:37:18 +0000 (20:37 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 May 2011 20:37:18 +0000 (20:37 +0000)
commit433d639c131ead9f557814afb1f15a0b81e86143
treecaad2c7aed66be28d009ea88a7cac080c50ae124
parent62593aed2e6b228ae5b85fb9721b45cc92cce894
PR lto/49123
* fold-const.c (constant_boolean_node): If type is non-NULL,
use build_int_cst_type instead of build_int_cst.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174087 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr49123.c [new file with mode: 0644]