This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r149121 - in /trunk/gcc: ChangeLog convert.c te...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 30 Jun 2009 22:04:37 -0000
- Subject: r149121 - in /trunk/gcc: ChangeLog convert.c te...
Author: jakub
Date: Tue Jun 30 22:04:36 2009
New Revision: 149121
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149121
Log:
PR c++/40566
* convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
to type arguments that have void type.
* g++.dg/parse/cond5.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/parse/cond5.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/convert.c
trunk/gcc/testsuite/ChangeLog