This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r149123 - in /branches/gcc-4_4-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 30 Jun 2009 22:38:05 -0000
- Subject: r149123 - in /branches/gcc-4_4-branch/gcc: Chan...
Author: jakub
Date: Tue Jun 30 22:38:04 2009
New Revision: 149123
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149123
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:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/cond5.C
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/convert.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog