This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]