This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176453 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 Jul 2011 12:56:48 -0000
- Subject: r176453 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: jakub
Date: Tue Jul 19 12:56:48 2011
New Revision: 176453
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176453
Log:
Backport from mainline
2011-05-27 Jakub Jelinek <jakub@redhat.com>
PR c++/49165
* c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
C++ don't call c_common_truthvalue_conversion on void type arms.
* g++.dg/eh/cond6.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/eh/cond6.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/c-common.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog