http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-26 10:27:59 UTC --- Author: jakub Date: Thu May 26 10:27:57 2011 New Revision: 174274 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174274 Log: PR c++/49165 * gimplify.c (shortcut_cond_r): Don't special case COND_EXPRs if they have void type on one of their arms. * g++.dg/eh/cond5.C: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/eh/cond5.C Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/gimplify.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog