From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3158 invoked by alias); 6 Sep 2010 22:10:40 -0000 Received: (qmail 3075 invoked by uid 48); 6 Sep 2010 22:10:27 -0000 Date: Mon, 06 Sep 2010 22:10:00 -0000 Subject: [Bug middle-end/45566] New: [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with -freorder-blocks-and-partition -fnon-call-exceptions -fprofile-use X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg00797.txt.bz2 Command line: $ CC=g++ $ FLAGS="-O1 -freorder-blocks-and-partition -fnon-call-exceptions" $ $CC $FLAGS testcase.C -fprofile-generate $ rm *.gcda $ ./a.out $ $CC $FLAGS testcase.C -fprofile-use testcase.C: In function 'int main()': testcase.C:14:1: internal compiler error: in convert_to_eh_region_ranges, at except.c:2446 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Tested revisions: r163921 - crash r153685 - crash 4.5 r163761 - crash 4.4 r160770 - warns The 4.4 warning looks like: cc1plus: note: -freorder-blocks-and-partition does not work with exceptions -- Summary: [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with - freorder-blocks-and-partition -fnon-call-exceptions - fprofile-use Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45566