------- Comment #4 from rguenth at gcc dot gnu dot org 2009-07-10 16:03 ------- Subject: Bug 40566
Author: rguenth Date: Fri Jul 10 16:02:59 2009 New Revision: 149488 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149488 Log: 2009-07-10 Richard Guenther <rguent...@suse.de> Backport from mainline 2009-06-30 Jakub Jelinek <ja...@redhat.com> 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_3-branch/gcc/testsuite/g++.dg/parse/cond5.C Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/convert.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40566