public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/12280] New: unrecognizable insn on simple Java code
@ 2003-09-14 21:41 bothner at gcc dot gnu dot org
2003-09-15 0:13 ` [Bug optimization/12280] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bothner at gcc dot gnu dot org @ 2003-09-14 21:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
Summary: unrecognizable insn on simple Java code
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bothner at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
jc1 crashes with an "unrecognizable insn" when compiling the
following code with -O:
class Type { int size; }
public class Dup
{
public void emitDup (int size, int offset) { }
public void emitDup (Type type)
{ emitDup(type.size > 4 ? 2 : 1, 0); }
}
This is simplified from Kawa, which fails to build
because of this.
This has been failing for a while on the mainline, but
it used to work.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12280] [3.4 Regression] unrecognizable insn on simple Java code
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
@ 2003-09-15 0:13 ` pinskia at gcc dot gnu dot org
2003-09-25 19:57 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-15 0:13 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|java |optimization
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-09-14 23:31:40
date| |
Summary|unrecognizable insn on |[3.4 Regression]
|simple Java code |unrecognizable insn on
| |simple Java code
Target Milestone|--- |3.4
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-14 23:31 -------
I can confirm this on the mainline (20030914). This is a regression from 3.3.
Note this is a target bug not a java bug because it compiles just fine on powerpc-apple-darwin6.6.
The problem is that combine is combining two insn which should not be combined (I thought I saw
a bug about this before but I cannot find it right now):
(insn 4 3 5 0 Dup.java:8 (set (reg/v/f:SI 59 [ type ])
(mem/f:SI (plus:SI (reg/f:SI 16 argp)
(const_int 4 [0x4])) [0 type+0 S4 A32])) 38 {*movsi_1} (nil)
(expr_list:REG_EQUIV (mem/f:SI (plus:SI (reg/f:SI 16 argp)
(const_int 4 [0x4])) [0 type+0 S4 A32])
(nil)))
(insn 10 9 35 0 Dup.java:8 (set (reg:CCGC 17 flags)
(compare:CCGC (mem/s/j:SI (plus:SI (reg/v/f:SI 59 [ type ])
(const_int 4 [0x4])) [0 <variable>.size+0 S4 A32])
(const_int 4 [0x4]))) 2 {*cmpsi_1_insn} (insn_list 4 (nil))
(expr_list:REG_UNUSED (reg:CCGC 17 flags)
(nil)))
into:
(insn 35 10 36 0 Dup.java:8 (set (reg:CCGC 17 flags)
(compare:CCGC (mem/s/j:SI (plus:SI (mem/f:SI (plus:SI (reg/f:SI 16 argp)
(const_int 4 [0x4])) [0 type+0 S4 A32])
(const_int 4 [0x4])) [0 <variable>.size+0 S4 A32])
(const_int 5 [0x5]))) -1 (nil)
(expr_list:REG_DEAD (reg/v/f:SI 59 [ type ])
(nil)))
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12280] [3.4 Regression] unrecognizable insn on simple Java code
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
2003-09-15 0:13 ` [Bug optimization/12280] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-09-25 19:57 ` pinskia at gcc dot gnu dot org
2003-11-09 0:32 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-25 19:57 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |suckfish at ihug dot co dot
| |nz
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-25 19:34 -------
*** Bug 12400 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12280] [3.4 Regression] unrecognizable insn on simple Java code
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
2003-09-15 0:13 ` [Bug optimization/12280] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-09-25 19:57 ` pinskia at gcc dot gnu dot org
@ 2003-11-09 0:32 ` pinskia at gcc dot gnu dot org
2003-11-09 0:33 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-09 0:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-09 00:32 -------
Adding build as the other two bugs cause libgcj fail to build.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12280] [3.4 Regression] unrecognizable insn on simple Java code
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-11-09 0:32 ` pinskia at gcc dot gnu dot org
@ 2003-11-09 0:33 ` pinskia at gcc dot gnu dot org
2003-11-09 0:46 ` pinskia at gcc dot gnu dot org
2003-11-29 2:08 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-09 0:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-09 00:33 -------
*** Bug 12973 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bryce at mckinlay dot net
| |dot nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12280] [3.4 Regression] unrecognizable insn on simple Java code
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
` (3 preceding siblings ...)
2003-11-09 0:33 ` pinskia at gcc dot gnu dot org
@ 2003-11-09 0:46 ` pinskia at gcc dot gnu dot org
2003-11-29 2:08 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-09 0:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-09 00:46 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00547.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12280] [3.4 Regression] unrecognizable insn on simple Java code
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
` (4 preceding siblings ...)
2003-11-09 0:46 ` pinskia at gcc dot gnu dot org
@ 2003-11-29 2:08 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29 2:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-29 02:08 -------
Fixed by Jan's patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12280
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-11-29 2:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-14 21:41 [Bug java/12280] New: unrecognizable insn on simple Java code bothner at gcc dot gnu dot org
2003-09-15 0:13 ` [Bug optimization/12280] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-09-25 19:57 ` pinskia at gcc dot gnu dot org
2003-11-09 0:32 ` pinskia at gcc dot gnu dot org
2003-11-09 0:33 ` pinskia at gcc dot gnu dot org
2003-11-09 0:46 ` pinskia at gcc dot gnu dot org
2003-11-29 2:08 ` 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).