]> git.ipfire.org Git - thirdparty/gcc.git/commit
In gcc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Jan 2011 02:09:13 +0000 (02:09 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Jan 2011 02:09:13 +0000 (02:09 +0000)
commita43fc97e234dee88879114112a5c07719d9eaf79
tree3a9c962ac63adb51b3f0d443e86f451d6eee1cc8
parent1dd2cc0066b7800503c590dbda9c00f2e789f7cd
In gcc/:
2011-01-26  Nicola Pero  <nicola.pero@meta-innovation.com>

PR c/43082
* c-typeck.c (c_objc_common_truthvalue_conversion): If we are
passed a VOID_TYPE expression, immediately emit an error and
return error_mark_node.

In gcc/testsuite/:
2011-01-26  Nicola Pero  <nicola.pero@meta-innovation.com>
    Andrew Pinski  <pinskia@gmail.com>

PR c/43082
* gcc.dg/pr43082.c: New.

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