This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49165] [4.4/4.5 Regression] ICE on for-loop/throw combination


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49165

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 19:31:04 UTC ---
Author: jakub
Date: Tue Jul 19 19:31:01 2011
New Revision: 176484

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176484
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_4-branch/gcc/testsuite/g++.dg/eh/cond6.C
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/c-common.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]