OSDN Git Service

PR c/54559
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2012 17:04:44 +0000 (17:04 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2012 17:04:44 +0000 (17:04 +0000)
commit977754837714054e7ae12f27db2a9f40994d32d7
tree24ce688e3f9dd46fe1750c9442a4e4f24509b250
parentf9454eafeaa9853181a2eb2d38937197636658c1
PR c/54559
* c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
COMPLEX_TYPE with in_late_binary_op set temporarily to true.

* gcc.c-torture/compile/pr54559.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191271 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr54559.c [new file with mode: 0644]