Comment 14 for bug 521112

Revision history for this message
In , Dnovillo (dnovillo) wrote :

Author: dnovillo
Date: Wed Feb 2 17:55:55 2011
New Revision: 169639

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169639
Log:
In gcc/:
2011-01-26 Nicola Pero <email address hidden>

 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 <email address hidden>
     Andrew Pinski <email address hidden>

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

Added:
    branches/google/integration/gcc/testsuite/gcc.dg/pr43082.c
Modified:
    branches/google/integration/gcc/ChangeLog
    branches/google/integration/gcc/c-typeck.c
    branches/google/integration/gcc/testsuite/ChangeLog