------- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-29 00:25 ------- Subject: Bug 31339
Author: pinskia Date: Tue May 29 00:25:25 2007 New Revision: 125156 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125156 Log: 2007-05-28 Andrew Pinski <[EMAIL PROTECTED]> PR c/31339 * c-typeck.c (build_unary_op <case PREINCREMENT_EXPR, case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, case POSTDECREMENT_EXPR>): Return the error_mark_node if either the real or imaginary parts would an error_mark_node. 2007-05-28 Andrew Pinski <[EMAIL PROTECTED]> PR c++/31339 * typeck.c (build_unary_op <case PREINCREMENT_EXPR, case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, case POSTDECREMENT_EXPR>): Return the error_mark_node if either the real or imaginary parts would an error_mark_node. 2007-05-28 Andrew Pinski <[EMAIL PROTECTED]> PR c/31339 * gcc.dg/boolcomplex-1.c: New test. PR c++/31339 * g++.dg/ext/boolcomplex-1.c: New test Added: trunk/gcc/testsuite/g++.dg/ext/boolcomplex-1.c trunk/gcc/testsuite/gcc.dg/boolcomplex-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-typeck.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31339