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++/34953] [4.1/4.2 Regression] ICE on destructor + noreturn-function at -O3



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-01-24 16:00 -------
Subject: Bug 34953

Author: rguenth
Date: Thu Jan 24 15:59:18 2008
New Revision: 131781

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

        PR middle-end/34953
        * predict.c (apply_return_prediction): Check for empty blocks.
        (tree_estimate_probability): Likewise.

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

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/torture/pr34953.C
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/predict.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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