OSDN Git Service

PR c++/49165
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 10:25:21 +0000 (10:25 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 10:25:21 +0000 (10:25 +0000)
commitae22319c67c80654007c8bb2a16e925841b4dbdb
treeae7149622fb245d57c64ae999c5287bfe155f862
parent8a83ab3e1364498dad81dee3bc5e4e92d1026073
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174273 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/cond5.C [new file with mode: 0644]