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 middle-end/42739] [4.5 Regression] ICE with computed goto, destructors, and optimization



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-01-15 11:53 -------
Subject: Bug 42739

Author: rguenth
Date: Fri Jan 15 11:53:26 2010
New Revision: 155937

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155937
Log:
2010-01-15  Richard Guenther  <rguenther@suse.de>

        PR middle-end/42739
        * tree-cfgcleanup.c (remove_forwarder_block): Move destination
        labels of computed or non-local gotos to the destination.
        * tree-cfg.c (gimple_verify_flow_info): Verify that a EH
        landing pad label is the first label.

        * g++.dg/torture/pr42739.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr42739.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree-cfgcleanup.c


-- 


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


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