[Bug middle-end/57499] [4.7/4.8 Regression] ICE when noreturn destructor returns after throw with -O

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 6 07:55:00 GMT 2014


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar  6 07:54:28 2014
New Revision: 208363

URL: http://gcc.gnu.org/viewcvs?rev=208363&root=gcc&view=rev
Log:
    Backport from mainline
    2014-02-05  Jakub Jelinek  <jakub@redhat.com>

    PR middle-end/57499
    * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
    bb with no successors.

    * g++.dg/torture/pr57499.C: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/torture/pr57499.C
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-eh.c



More information about the Gcc-bugs mailing list