[Bug rtl-optimization/40105] [4.3/4.4 Regression] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system
--- Comment #10 from kkojima at gcc dot gnu dot org 2009-05-21 23:36 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40105
[Bug rtl-optimization/40105] [4.3/4.4 Regression] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system
--- Comment #9 from kkojima at gcc dot gnu dot org 2009-05-21 23:31 --- Subject: Bug 40105 Author: kkojima Date: Thu May 21 23:31:44 2009 New Revision: 147781 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147781 Log: PR rtl-optimization/40105 Backport from mainline: 2009-04-29 Eric Botcazou Steven Bosscher * Makefile.in (cfgrtl.o): Add $(INSN_ATTR_H). * cfgrtl.c: Include insn-attr.h. (rest_of_pass_free_cfg): New function. (pass_free_cfg): Use rest_of_pass_free_cfg as execute function. 2009-04-27 Richard Sandiford Eric Botcazou * resource.c (find_basic_block): Use BLOCK_FOR_INSN to look up a label's basic block. (mark_target_live_regs): Tidy and rework obsolete comments. Change back DF problem to LIVE. If a label starts a basic block, assume that all registers that used to be live then still are. (init_resource_info): If a label starts a basic block, set its BLOCK_FOR_INSN accordingly. (free_resource_info): Undo the setting of BLOCK_FOR_INSN. Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/Makefile.in branches/gcc-4_3-branch/gcc/cfgrtl.c branches/gcc-4_3-branch/gcc/resource.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40105
[Bug rtl-optimization/40105] [4.3/4.4 Regression] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system
--- Comment #8 from kkojima at gcc dot gnu dot org 2009-05-21 23:17 --- Subject: Bug 40105 Author: kkojima Date: Thu May 21 23:17:37 2009 New Revision: 147780 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147780 Log: PR rtl-optimization/40105 Backport from mainline: 2009-04-29 Eric Botcazou Steven Bosscher * Makefile.in (cfgrtl.o): Add $(INSN_ATTR_H). * cfgrtl.c: Include insn-attr.h. (rest_of_pass_free_cfg): New function. (pass_free_cfg): Use rest_of_pass_free_cfg as execute function. 2009-04-27 Richard Sandiford Eric Botcazou * resource.c (find_basic_block): Use BLOCK_FOR_INSN to look up a label's basic block. (mark_target_live_regs): Tidy and rework obsolete comments. Change back DF problem to LIVE. If a label starts a basic block, assume that all registers that used to be live then still are. (init_resource_info): If a label starts a basic block, set its BLOCK_FOR_INSN accordingly. (free_resource_info): Undo the setting of BLOCK_FOR_INSN. Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/Makefile.in branches/gcc-4_4-branch/gcc/cfgrtl.c branches/gcc-4_4-branch/gcc/resource.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40105
[Bug rtl-optimization/40105] [4.3/4.4 Regression] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system
--- Comment #7 from kkojima at gcc dot gnu dot org 2009-05-18 23:41 --- Thanks for confirmation! I'll ask if the r146829 patch is safe to backport for 4.[34] branches in the gcc list, after the tests on x86 and powerpc. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Component|target |rtl-optimization Keywords||wrong-code Known to work|4.1.2 |4.1.2 4.5.0 Summary|SH: 4.3/4.4 compilers |[4.3/4.4 Regression] SH: |segfault when recompiling |4.3/4.4 compilers segfault |itself on gentoo system |when recompiling itself on ||gentoo system http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40105