* [Bug target/17643] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
@ 2004-09-23 22:05 ` markus at oberhumer dot com
2004-11-30 19:56 ` markus at oberhumer dot com
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: markus at oberhumer dot com @ 2004-09-23 22:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From markus at oberhumer dot com 2004-09-23 22:05 -------
Created an attachment (id=7209)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7209&action=view)
Small testcase to reproduce the ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
2004-09-23 22:05 ` [Bug target/17643] " markus at oberhumer dot com
@ 2004-11-30 19:56 ` markus at oberhumer dot com
2004-12-06 20:54 ` [Bug target/17643] [3.3/3.4/4.0 Regression] " belyshev at lubercy dot com
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: markus at oberhumer dot com @ 2004-11-30 19:56 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet| |hppa-linux-gnu
GCC target triplet|hppa-unknown-linux-gnu |hppa-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
2004-09-23 22:05 ` [Bug target/17643] " markus at oberhumer dot com
2004-11-30 19:56 ` markus at oberhumer dot com
@ 2004-12-06 20:54 ` belyshev at lubercy dot com
2004-12-20 1:09 ` steven at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-06 20:54 UTC (permalink / raw)
To: gcc-bugs
------- 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|0000-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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (2 preceding siblings ...)
2004-12-06 20:54 ` [Bug target/17643] [3.3/3.4/4.0 Regression] " belyshev at lubercy dot com
@ 2004-12-20 1:09 ` steven at gcc dot gnu dot org
2004-12-20 4:36 ` danglin at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-20 1:09 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (3 preceding siblings ...)
2004-12-20 1:09 ` steven at gcc dot gnu dot org
@ 2004-12-20 4:36 ` danglin at gcc dot gnu dot org
2004-12-20 4:41 ` danglin at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-12-20 4:36 UTC (permalink / raw)
To: gcc-bugs
------- 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 [0xffffffec])) [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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (4 preceding siblings ...)
2004-12-20 4:36 ` danglin at gcc dot gnu dot org
@ 2004-12-20 4:41 ` danglin at gcc dot gnu dot org
2004-12-20 4:49 ` [Bug target/17643] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-12-20 4:41 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (5 preceding siblings ...)
2004-12-20 4:41 ` danglin at gcc dot gnu dot org
@ 2004-12-20 4:49 ` pinskia at gcc dot gnu dot org
2004-12-20 5:27 ` belyshev at lubercy dot com
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-20 4:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|3.0.4 |
Summary|[3.3/3.4/4.0 Regression] ICE|ICE in propagate_one_insn,
|in propagate_one_insn, at |at flow.c:1582
|flow.c:1582 |
Target Milestone|3.4.4 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (6 preceding siblings ...)
2004-12-20 4:49 ` [Bug target/17643] " pinskia at gcc dot gnu dot org
@ 2004-12-20 5:27 ` belyshev at lubercy dot com
2004-12-20 5:28 ` [Bug target/17643] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-20 5:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-20 05:27 -------
No, 3.0.4 release i used was FSF, not Debian.
ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.0.4/gcc-core-3.0.4.tar.gz
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (7 preceding siblings ...)
2004-12-20 5:27 ` belyshev at lubercy dot com
@ 2004-12-20 5:28 ` pinskia at gcc dot gnu dot org
2004-12-27 0:21 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-20 5:28 UTC (permalink / raw)
To: gcc-bugs
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (8 preceding siblings ...)
2004-12-20 5:28 ` [Bug target/17643] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-27 0:21 ` cvs-commit at gcc dot gnu dot org
2004-12-27 1:08 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-27 0:21 UTC (permalink / raw)
To: gcc-bugs
------- 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: danglin@gcc.gnu.org 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3/3.4/4.0 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (9 preceding siblings ...)
2004-12-27 0:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-27 1:08 ` cvs-commit at gcc dot gnu dot org
2004-12-27 2:42 ` [Bug target/17643] [3.3 " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-27 1:08 UTC (permalink / raw)
To: gcc-bugs
------- 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: danglin@gcc.gnu.org 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (10 preceding siblings ...)
2004-12-27 1:08 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-27 2:42 ` pinskia at gcc dot gnu dot org
2004-12-27 2:56 ` cvs-commit at gcc dot gnu dot org
2004-12-28 5:05 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 2:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-27 02:42 -------
Fixed now in 3.4.4 and 4.0.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.4.2 3.4.4 3.3.4 3.2.3 |3.4.2 3.4.4 3.3.4 3.2.3
|4.0.0 |
Known to work|3.0.4 |3.0.4 3.4.4 4.0.0
Summary|[3.3/3.4/4.0 Regression] ICE|[3.3 Regression] ICE in
|in propagate_one_insn, at |propagate_one_insn, at
|flow.c:1582 |flow.c:1582
Target Milestone|3.4.4 |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (11 preceding siblings ...)
2004-12-27 2:42 ` [Bug target/17643] [3.3 " pinskia at gcc dot gnu dot org
@ 2004-12-27 2:56 ` cvs-commit at gcc dot gnu dot org
2004-12-28 5:05 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-27 2:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-27 02:55 -------
Subject: Bug 17643
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: danglin@gcc.gnu.org 2004-12-27 02:55:49
Modified files:
gcc : ChangeLog
gcc/config/pa : pa32-linux.h
Log message:
PR target/17643
* config/pa/pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Return false when
TARGET_PORTABLE_RUNTIME is true.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.1045&r2=1.16114.2.1046
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa32-linux.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.10&r2=1.10.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17643] [3.3 Regression] ICE in propagate_one_insn, at flow.c:1582
2004-09-23 22:04 [Bug target/17643] New: ICE in propagate_one_insn, at flow.c:1582 markus at oberhumer dot com
` (12 preceding siblings ...)
2004-12-27 2:56 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-28 5:05 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-28 5:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-28 05:05 -------
Fixed also in 3.3.6.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17643
^ permalink raw reply [flat|nested] 15+ messages in thread