* [Bug java/18190] [4.0/4.1 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:12 ` pinskia at gcc dot gnu dot org
2006-02-28 20:53 ` [Bug java/18190] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:12 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.0/4.1/4.2 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:12 ` [Bug java/18190] [4.0/4.1 regression] primitive array optimization is gone pinskia at gcc dot gnu dot org
@ 2006-02-28 20:53 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:47 ` mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 20:53 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.0/4.1/4.2 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:12 ` [Bug java/18190] [4.0/4.1 regression] primitive array optimization is gone pinskia at gcc dot gnu dot org
2006-02-28 20:53 ` [Bug java/18190] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2006-05-25 2:47 ` mmitchel at gcc dot gnu dot org
2007-02-14 9:31 ` [Bug java/18190] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from mmitchel at gcc dot gnu dot org 2006-05-25 02:35 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.0/4.1/4.2/4.3 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-05-25 2:47 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14 9:31 ` mmitchel at gcc dot gnu dot org
2008-07-04 16:35 ` [Bug java/18190] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:31 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.2/4.3/4.4 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2007-02-14 9:31 ` [Bug java/18190] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2008-07-04 16:35 ` jsm28 at gcc dot gnu dot org
2009-03-20 18:30 ` steven at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jsm28 at gcc dot gnu dot org 2008-07-04 16:34 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 regression]
|primitive array optimization|primitive array optimization
|is gone |is gone
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.2/4.3/4.4 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2008-07-04 16:35 ` [Bug java/18190] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-20 18:30 ` steven at gcc dot gnu dot org
2009-03-20 18:31 ` steven at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-03-20 18:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from steven at gcc dot gnu dot org 2009-03-20 18:30 -------
Tom, this hasn't been reconfirmed in a while. Does this bug still exist in
gcj?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.2/4.3/4.4 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2009-03-20 18:30 ` steven at gcc dot gnu dot org
@ 2009-03-20 18:31 ` steven at gcc dot gnu dot org
2009-03-20 22:44 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-03-20 18:31 UTC (permalink / raw)
To: gcc-bugs
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.2/4.3/4.4 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2009-03-20 18:31 ` steven at gcc dot gnu dot org
@ 2009-03-20 22:44 ` rguenth at gcc dot gnu dot org
2009-03-20 22:56 ` steven at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-20 22:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from rguenth at gcc dot gnu dot org 2009-03-20 22:44 -------
It at least still happens with 4.3 and I have no belief that it is fixed with
4.4 if comment #3 applies. Code generated is also absymal (-O2):
_ZN1t18__U3c_clinit__U3e_EJvv:
.LFB2:
pushl %ebp
.LCFI0:
movl %esp, %ebp
.LCFI1:
subl $8, %esp
.LCFI2:
movl $4, 4(%esp)
movl $_Jv_intClass, (%esp)
call _Jv_NewPrimArray
movl 4(%eax), %edx
testl %edx, %edx
je .L8
cmpl $1, %edx
movl $5, 8(%eax)
jbe .L9
cmpl $2, %edx
movl $7, 12(%eax)
jbe .L10
cmpl $3, %edx
movl $9, 16(%eax)
jbe .L11
movl $11, 20(%eax)
movl %eax, _ZN1t1xE
leave
ret
.L8:
movl $0, (%esp)
call _Jv_ThrowBadArrayIndex
.L9:
movl $1, (%esp)
call _Jv_ThrowBadArrayIndex
.L10:
movl $2, (%esp)
call _Jv_ThrowBadArrayIndex
.L11:
movl $3, (%esp)
call _Jv_ThrowBadArrayIndex
(4.3 again), we do not seem to be able to CSE the load of the array length
on the tree level and we have no way (still) of commoning the calls to
_Jv_ThrowBadArrayIndex either:
<bb 2>:
D.241 = _Jv_NewPrimArray (&_Jv_intClass, 4);
D.249 = D.241->length;
if (D.249 != 0)
goto <bb 4>;
else
goto <bb 3>;
<bb 3>:
_Jv_ThrowBadArrayIndex (0);
<bb 4>:
D.241->data[0] = 5;
D.263 = D.241->length;
if ((unsigned int) D.263 > 1)
goto <bb 6>;
else
goto <bb 5>;
<bb 5>:
_Jv_ThrowBadArrayIndex (1);
<bb 6>:
D.241->data[1] = 7;
D.277 = D.241->length;
if ((unsigned int) D.277 > 2)
goto <bb 8>;
else
goto <bb 7>;
<bb 7>:
_Jv_ThrowBadArrayIndex (2);
<bb 8>:
D.241->data[2] = 9;
D.291 = D.241->length;
if ((unsigned int) D.291 > 3)
goto <bb 10>;
else
goto <bb 9>;
<bb 9>:
_Jv_ThrowBadArrayIndex (3);
<bb 10>:
D.241->data[3] = 11;
x = D.241;
return;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.2/4.3/4.4 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2009-03-20 22:44 ` rguenth at gcc dot gnu dot org
@ 2009-03-20 22:56 ` steven at gcc dot gnu dot org
2009-03-31 16:21 ` [Bug java/18190] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-03-20 22:56 UTC (permalink / raw)
To: gcc-bugs
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2006-09-17 19:41:31 |2009-03-20 22:56:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.3/4.4/4.5 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2009-03-20 22:56 ` steven at gcc dot gnu dot org
@ 2009-03-31 16:21 ` jsm28 at gcc dot gnu dot org
2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
2010-05-22 18:16 ` [Bug java/18190] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
11 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jsm28 at gcc dot gnu dot org 2009-03-31 16:20 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4/4.5 regression]|[4.3/4.4/4.5 regression]
|primitive array optimization|primitive array optimization
|is gone |is gone
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.3/4.4/4.5 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2009-03-31 16:21 ` [Bug java/18190] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
2010-05-22 18:16 ` [Bug java/18190] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from rguenth at gcc dot gnu dot org 2009-08-04 12:26 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/18190] [4.3/4.4/4.5/4.6 regression] primitive array optimization is gone
[not found] <bug-18190-360@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from rguenth at gcc dot gnu dot org 2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18190
^ permalink raw reply [flat|nested] 12+ messages in thread