[Bug target/36782] [4.3/4.4 Regression] SH: spill failure in class 'R0_REGS' with -fpic

2008-07-15 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2008-07-15 22:36 --- Subject: Bug 36782 Author: kkojima Date: Tue Jul 15 22:35:48 2008 New Revision: 137853 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137853 Log: PR target/36782 * config/sh/sh.md

[Bug target/36782] [4.3/4.4 Regression] SH: spill failure in class 'R0_REGS' with -fpic

2008-07-15 Thread kkojima at gcc dot gnu dot org
--- Comment #5 from kkojima at gcc dot gnu dot org 2008-07-15 22:43 --- Subject: Bug 36782 Author: kkojima Date: Tue Jul 15 22:42:45 2008 New Revision: 137854 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137854 Log: Backport from mainline: PR target/36782

[Bug target/36782] [4.3/4.4 Regression] SH: spill failure in class 'R0_REGS' with -fpic

2008-07-15 Thread kkojima at gcc dot gnu dot org
--- Comment #6 from kkojima at gcc dot gnu dot org 2008-07-15 22:50 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/36782] [4.3/4.4 Regression] SH: spill failure in class 'R0_REGS' with -fpic

2008-07-12 Thread kkojima at gcc dot gnu dot org
--- Comment #3 from kkojima at gcc dot gnu dot org 2008-07-12 23:53 --- I've added a reduced testcase and confirmed that 4.2.4 works too. The RTL dumps show what is going on in the problematic case. The backend creates a REG_EQUAL note for the GOT access and CSE pass locates a memory