PR c/45969
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Oct 2010 15:48:52 +0000 (15:48 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Oct 2010 15:48:52 +0000 (15:48 +0000)
commit16a547ac42d850d8f2f902709e2217619e2302d2
tree9332589b07be445c08324bf933ee5c698a12987b
parent8a91b6a6d3d03ee47bc8c845b09c92a0bac56e79
PR c/45969
* c-typeck.c (build_binary_op): Don't try to compute a semantic
type with excess precision for boolean operations.

testsuite:
* gcc.c-torture/compile/pr45969-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165472 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr45969-1.c [new file with mode: 0644]