[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-27 01:08 --- Subject: Bug 17643 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-27 01:08:09 Modified files: gcc: ChangeLog gcc/config/pa : pa.c Log message: PR target/17643 * pa.c (pa_function_ok_for_sibcall): Sibcalls are not ok when generating code for the portable runtime. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6957&r2=2.6958 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&r1=1.280&r2=1.281 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-27 00:21 --- Subject: Bug 17643 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2004-12-27 00:20:59 Modified files: gcc: ChangeLog gcc/config/pa : pa.c Log message: PR target/17643 * pa.c (pa_function_ok_for_sibcall): Sibcalls are not ok when generating code for the portable runtime. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.754&r2=2.2326.2.755 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.235.4.7&r2=1.235.4.8 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
-- What|Removed |Added Known to work||3.0.4 Summary|ICE in propagate_one_insn, |[3.3/3.4/4.0 Regression] ICE |at flow.c:1582 |in propagate_one_insn, at ||flow.c:1582 Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
--- Additional Comments From danglin at gcc dot gnu dot org 2004-12-20 04:41 --- One additional comment. This isn't a regression. The hppa 3.0.4 release that was reported as working was a Debian release, not a FSF release. Sibcalls were enabled for hppa-linux when the Debian port was merged into the FSF tree. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
--- Additional Comments From danglin at gcc dot gnu dot org 2004-12-20 04:36 --- Hmmm, why "-mportable-runtime"? This was intended I believe for PA 1.0 chips in embedded applications and isn't used or tested much any more. I can only duplicate on linux. At the moment, I don't know how this can happen. We have the following insn when the ICE occurs: (insn 36 16 37 0 (set (reg:SI 2 %r2) (mem:SI (plus:SI (reg/f:SI 30 %r30) (const_int -20 [0xffec])) [0 S4 A32])) -1 (nil) (nil)) (insn 37 36 17 0 (unspec_volatile [ (const_int 2 [0x2]) ] 0) -1 (nil) (nil)) (call_insn/j 17 37 18 0 (parallel [ (set (reg:SI 28 %r28) (call (mem:SI (reg:SI 22 %r22) [0 S4 A32]) (const_int 16 [0x10]))) (clobber (reg:SI 1 %r1)) (clobber (reg:SI 2 %r2)) (use (const_int 1 [0x1])) ]) 207 {call_val_reg} (insn_list:REG_DEP_ANTI 13 (insn_list:REG_DEP_TRUE 16 (nil))) (expr_list:REG_DEAD (reg:SI 26 %r26 [ size ]) (expr_list:REG_DEAD (reg:SI 22 %r22) (expr_list:REG_UNUSED (reg:SI 2 %r2) (expr_list:REG_UNUSED (reg:SI 1 %r1) (nil) (expr_list:REG_DEP_TRUE (use (reg:SI 26 %r26 [ size ])) (nil))) (barrier 18 17 20) (note 20 18 33 NOTE_INSN_FUNCTION_END) (note 33 20 0 NOTE_INSN_DELETED) $5 = void Somehow, it looks as if the epilogue has been emitted in the wrong place (i.e., before insn 17 which is in the body of the function. It looks to me like this is caused by thread_prologue_and_epilogue_insns treating insn 17 as a sibling call. The hpux port doesn't allow sibcalls in the portable runtime. I think I see how to fix this but I'm still wonder why you would want to use -mportable-runtime on linux. The call sequences are much less efficient. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
--- Additional Comments From steven at gcc dot gnu dot org 2004-12-20 01:09 --- Add Dave, he's the HPPA port maintainer. -- What|Removed |Added CC||dave dot anglin at nrc dot ||ca http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
[Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
--- Additional Comments From belyshev at lubercy dot com 2004-12-06 20:54 --- Regression from 3.0.4 -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 GCC host triplet|hppa-linux-gnu | Keywords||ice-on-valid-code Known to fail||3.4.2 3.4.4 3.3.4 3.2.3 ||4.0.0 Known to work||3.0.4 Last reconfirmed|-00-00 00:00:00 |2004-12-06 20:54:39 date|| Summary|ICE in propagate_one_insn, |[3.3/3.4/4.0 Regression] ICE |at flow.c:1582 |in propagate_one_insn, at ||flow.c:1582 Target Milestone|--- |3.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643