public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14119] New: libjava Array_3 test fails at -O1
@ 2004-02-11 23:32 amodra at bigpond dot net dot au
2004-02-11 23:45 ` [Bug optimization/14119] " amodra at bigpond dot net dot au
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-02-11 23:32 UTC (permalink / raw)
To: gcc-bugs
I've been working on the hammer branch, and noticed the libjava Array_3 test
failing there but passing on mainline. After looking in vain for the patch that
cured the problem on mainline, I realized the pass on mainline was because the
test has changed. Mainline runs libjava tests at -O0 and -O3, hammer-3_3-branch
runs them at -O0 and -O1. Running mainline (and gcc-3.4) tests at -O1 exhibits
the same failure:
LD_LIBRARY_PATH=../.libs:../../../gcc ./Array_3.exe
Exception in thread "main" java.lang.RuntimeException: test failed:4
[snip rest of output]
This appears to be a combine problem.
Array_3.java.19.life:
(insn 216 215 220 30
/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java:66 (set (reg/v:DI
119 [ ok ])
(const_int 0 [0x0])) 324 {*movdi_internal64} (nil)
(nil))
(note 220 216 222 30
("/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java") 69)
(note 222 220 225 30
("/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java") 70)
(insn 225 222 363 30
/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java:70 (set:DI (reg:DI
164 [ <variable>.length ])
(zero_extend:DI (mem/s/j:SI (plus:DI (reg/v:DI 119 [ ok ])
(const_int 8 [0x8])) [0 <variable>.length+0 S4 A64]))) 12
{*rs6000.md:372} (insn_list 216 (nil))
(expr_list:REG_UNUSED (reg:DI 164 [ <variable>.length ])
(expr_list:REG_EH_REGION (const_int 7 [0x7])
(nil))))
Array_3.java.20.combine:
(note 216 215 220 30 NOTE_INSN_DELETED)
(note 220 216 222 30
("/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java") 69)
(note 222 220 225 30
("/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java") 70)
(insn 225 222 421 30
/src/gcc-current/libjava/testsuite/libjava.lang/Array_3.java:70 (set (reg/v:DI
119 [ ok ])
(const_int 0 [0x0])) 324 {*movdi_internal64} (nil)
(nil))
--
Summary: libjava Array_3 test fails at -O1
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amodra at bigpond dot net dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
@ 2004-02-11 23:45 ` amodra at bigpond dot net dot au
2004-02-12 1:11 ` amodra at bigpond dot net dot au
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-02-11 23:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-02-11 23:45 -------
Looking into a fix
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net
|dot org |dot au
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
2004-02-11 23:45 ` [Bug optimization/14119] " amodra at bigpond dot net dot au
@ 2004-02-12 1:11 ` amodra at bigpond dot net dot au
2004-02-15 12:56 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-02-12 1:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-02-12 01:11 -------
http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01115.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |EH, patch, wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
2004-02-11 23:45 ` [Bug optimization/14119] " amodra at bigpond dot net dot au
2004-02-12 1:11 ` amodra at bigpond dot net dot au
@ 2004-02-15 12:56 ` cvs-commit at gcc dot gnu dot org
2004-02-17 22:21 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-15 12:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-15 12:56 -------
Subject: Bug 14119
CVSROOT: /cvs/gcc
Module name: gcc
Branch: hammer-3_3-branch
Changes by: amodra@gcc.gnu.org 2004-02-15 12:56:35
Modified files:
gcc : ChangeLog.hammer combine.c
Log message:
PR optimization/14119
* combine.c (try_combine): When attemting to fix unrecognized insns,
don't delete SETs marked with REG_EH_REGION notes. Also, don't split
a PARALLEL when that results in the original insns.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.328&r2=1.1.2.329
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.323.2.21&r2=1.323.2.22
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
` (2 preceding siblings ...)
2004-02-15 12:56 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-17 22:21 ` cvs-commit at gcc dot gnu dot org
2004-02-17 22:28 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-17 22:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-17 22:21 -------
Subject: Bug 14119
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2004-02-17 22:21:00
Modified files:
gcc : ChangeLog combine.c
Log message:
PR optimization/14119
* combine.c (try_combine): When attemting to fix unrecognized insns,
don't delete SETs marked with REG_EH_REGION notes.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2805&r2=2.2806
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&r1=1.409&r2=1.410
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
` (3 preceding siblings ...)
2004-02-17 22:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-17 22:28 ` cvs-commit at gcc dot gnu dot org
2004-02-17 22:39 ` amodra at bigpond dot net dot au
2004-02-17 22:44 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-17 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-17 22:28 -------
Subject: Bug 14119
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: amodra@gcc.gnu.org 2004-02-17 22:28:40
Modified files:
gcc : ChangeLog combine.c
Log message:
PR optimization/14119
* combine.c (try_combine): When attemting to fix unrecognized insns,
don't delete SETs marked with REG_EH_REGION notes.
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.209&r2=2.2326.2.210
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.400.4.4&r2=1.400.4.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
` (4 preceding siblings ...)
2004-02-17 22:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-17 22:39 ` amodra at bigpond dot net dot au
2004-02-17 22:44 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-02-17 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-02-17 22:39 -------
Fixed in 3.4 and 3.5
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/14119] libjava Array_3 test fails at -O1
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
` (5 preceding siblings ...)
2004-02-17 22:39 ` amodra at bigpond dot net dot au
@ 2004-02-17 22:44 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-17 22:44 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14119
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-02-17 22:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-11 23:32 [Bug optimization/14119] New: libjava Array_3 test fails at -O1 amodra at bigpond dot net dot au
2004-02-11 23:45 ` [Bug optimization/14119] " amodra at bigpond dot net dot au
2004-02-12 1:11 ` amodra at bigpond dot net dot au
2004-02-15 12:56 ` cvs-commit at gcc dot gnu dot org
2004-02-17 22:21 ` cvs-commit at gcc dot gnu dot org
2004-02-17 22:28 ` cvs-commit at gcc dot gnu dot org
2004-02-17 22:39 ` amodra at bigpond dot net dot au
2004-02-17 22:44 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).