[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #15 from kkojima at gcc dot gnu dot org 2006-03-06 22:40 --- Subject: Bug 23706 Author: kkojima Date: Mon Mar 6 22:40:49 2006 New Revision: 111792 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111792 Log: PR target/23706 Backport from 4.1: * lcm.c (optimize_mode_switching): Clear transp bit for block with incomming abnormal edges. PR target/22553 Backport from 4.1: * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_schedule_insns to 2 if it's already non-zero. (OVERRIDE_OPTIONS): Clear flag_schedule_insns if flag_exceptions is set and warn about it if flag_schedule_insns is 1. Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/config/sh/sh.h branches/gcc-4_0-branch/gcc/lcm.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #12 from kkojima at gcc dot gnu dot org 2005-10-06 06:55 --- There are no regressions on x86-linux cross sh4-unknown-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #13 from cvs-commit at gcc dot gnu dot org 2005-10-06 17:06 --- Subject: Bug 23706 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-10-06 17:06:12 Modified files: gcc: ChangeLog mode-switching.c gcc/config/sh : sh.c sh.md Log message: PR 23706 * mode-switching.c (optimize_mode_switching): Clear transp bit for block with incomming abnormal edges. * config/sh/sh.c (fpscr_values, emit_fpu_switch): New. (fpscr_set_from_mem): Use them. * config/sh/sh.md (fpu_switch0, fpu_switch1): Remove. (fpscr postinc splitters): Rewrite as peephole2+split. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10103r2=2.10104 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mode-switching.c.diff?cvsroot=gccr1=2.6r2=2.7 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.c.diff?cvsroot=gccr1=1.348r2=1.349 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.md.diff?cvsroot=gccr1=1.200r2=1.201 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #14 from rth at gcc dot gnu dot org 2005-10-06 17:17 --- Fixed. -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #9 from rth at gcc dot gnu dot org 2005-10-06 00:53 --- Created an attachment (id=9898) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9898action=view) maybe fix mode switching vs abnormal edges Try this patch on top of the other. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
-- rth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #10 from kkojima at gcc dot gnu dot org 2005-10-06 02:49 --- The patch gets rid of the ICE and makes it possible to build libjava with --enable-cheching on sh4-unknown-linux-gnu again. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Comment #11 from rth at gcc dot gnu dot org 2005-10-06 03:17 --- And regression testing? Anything that actually excersises the fpscr switching code... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Additional Comments From kkojima at gcc dot gnu dot org 2005-09-03 07:07 --- There are no new failures on c/c++/objc tests with the patch but it makes 120 new failures on gfortran execution test. The patched compiler still fails for libjava/interpret.cc and Andrew's reduced testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Additional Comments From kkojima at gcc dot gnu dot org 2005-09-03 09:20 --- BTW, I've found that Andrew's testcase fails even on i686-linux with -O2 -fnon-call-exceptions: internal compiler error: in expand_assignment, at expr.c:3929 I've filed it as PR 23714. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706
[Bug target/23706] [4.1 Regression] ICE in rtl_verify_flow_info_1
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-03 03:29 --- Here is the reduced testcase: void run (void) { float stack[1]; float *sp = stack; try { float value2 = ((float) *(--sp)); float value1 = ((float) *(--sp)); *(sp++) = (value1 - value2); } catch (int *ex) { } } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23706