This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r174274 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 26 May 2011 10:27:57 -0000
- Subject: r174274 - in /branches/gcc-4_6-branch/gcc: Chan...
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