This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49165] [4.4/4.5 Regression] ICE on for-loop/throw combination
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Jul 2011 12:55:30 +0000
- Subject: [Bug c++/49165] [4.4/4.5 Regression] ICE on for-loop/throw combination
- Auto-submitted: auto-generated
- References: <bug-49165-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 12:54:37 UTC ---
Author: jakub
Date: Tue Jul 19 12:54:34 2011
New Revision: 176452
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176452
Log:
Backport from mainline
2011-05-26 Jakub Jelinek <jakub@redhat.com>
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_5-branch/gcc/testsuite/g++.dg/eh/cond5.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/gimplify.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog