public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/12419] New: Performace regression: poor optimization of const memory
@ 2003-09-26 14:55 aph at gcc dot gnu dot org
2003-09-26 14:56 ` [Bug optimization/12419] " aph at gcc dot gnu dot org
` (24 more replies)
0 siblings, 25 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2003-09-26 14:55 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=12419
Summary: Performace regression: poor optimization of const memory
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aph at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
This program:
extern const int a[];
extern void f();
int foo ()
{
int n = a[0];
f();
n += a[0];
return n;
}
generates this code:
foo:
pushl %ebx
subl $8, %esp
movl a, %ebx
call f
movl a, %eax
addl $8, %esp
addl %eax, %ebx
movl %ebx, %eax
popl %ebx
ret
Note that the memory 'a' is read twice. 3.2 did this:
foo:
pushl %ebx
subl $8, %esp
movl a, %ebx
sall $1, %ebx
call f
addl $8, %esp
movl %ebx, %eax
popl %ebx
ret
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
@ 2003-09-26 14:56 ` aph at gcc dot gnu dot org
2003-09-26 18:35 ` bangerth at dealii dot org
` (23 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2003-09-26 14:56 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=12419
aph at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aph at gcc dot gnu dot org
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
2003-09-26 14:56 ` [Bug optimization/12419] " aph at gcc dot gnu dot org
@ 2003-09-26 18:35 ` bangerth at dealii dot org
2003-09-27 8:12 ` [Bug optimization/12419] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
` (22 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: bangerth at dealii dot org @ 2003-09-26 18:35 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=12419
------- Additional Comments From bangerth at dealii dot org 2003-09-26 18:03 -------
Discussion about this is here:
http://gcc.gnu.org/ml/gcc/2003-09/msg01125.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
2003-09-26 14:56 ` [Bug optimization/12419] " aph at gcc dot gnu dot org
2003-09-26 18:35 ` bangerth at dealii dot org
@ 2003-09-27 8:12 ` pinskia at gcc dot gnu dot org
2003-09-29 23:07 ` janis187 at us dot ibm dot com
` (21 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-27 8:12 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=12419
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |pessimizes-code
Last reconfirmed|0000-00-00 00:00:00 |2003-09-27 06:36:21
date| |
Summary|Performace regression: poor |[3.3/3.4 Regression]
|optimization of const memory|Performace regression: poor
| |optimization of const memory
Target Milestone|--- |3.4
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-27 06:36 -------
I can confirm this on the mainline (20030925) and in 3.3.2 (20030815). It does not
happen in 3.3 (20030304).
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-09-27 8:12 ` [Bug optimization/12419] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-09-29 23:07 ` janis187 at us dot ibm dot com
2003-09-29 23:15 ` pinskia at gcc dot gnu dot org
` (20 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: janis187 at us dot ibm dot com @ 2003-09-29 23:07 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=12419
------- Additional Comments From janis187 at us dot ibm dot com 2003-09-29 22:42 -------
The change reported in PR 12419 is somewhat erratic, although a
regression hunt on the 3.3 branch identified this patch:
--- gcc/gcc/ChangeLog ---
2003-04-07 Glen Nakamura <glen@imodulo.com>
PR opt/8634
* explow.c (maybe_set_unchanging): Don't flag non-static const
aggregate type initializers with RTX_UNCHANGING_P.
which includes the following new comment text:
We cannot do this for non-static aggregates, because of the double
writes that can be generated by store_constructor, depending on the
contents of the initializer. Yes, this does eliminate a good fraction
of the number of uses of RTX_UNCHANGING_P for a language like Ada.
It also eliminates a good quantity of bugs. Let this be incentive to
eliminate RTX_UNCHANGING_P entirely in favour of a more reliable
solution, perhaps based on alias sets.
The regression hunt on the 3.3-branch took place on i686-pc-linux-gnu
using the submitter's test case compiled with -O2.
A similar hunt on mainline identified the merge of the 3.4 improvements
branch in December; very odd. Even more odd is that I get different
results with recent mainline compilers depending on whether I use gcc or
cc1 directly. Sounds like something is uninitialized.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (3 preceding siblings ...)
2003-09-29 23:07 ` janis187 at us dot ibm dot com
@ 2003-09-29 23:15 ` pinskia at gcc dot gnu dot org
2003-09-30 19:39 ` aph at gcc dot gnu dot org
` (19 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-29 23:15 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=12419
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-29 22:51 -------
The reason why you get different results between using gcc and cc1 now is because the way the
default target (i686 vs. i386) is handled now.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (4 preceding siblings ...)
2003-09-29 23:15 ` pinskia at gcc dot gnu dot org
@ 2003-09-30 19:39 ` aph at gcc dot gnu dot org
2003-10-06 8:01 ` bonzini at gnu dot org
` (18 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2003-09-30 19:39 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=12419
------- Additional Comments From aph at gcc dot gnu dot org 2003-09-30 18:23 -------
Thanks for the analysis. Yes, this makes sense. But it is a nasty
pessimization, and we need to get it fixed somehow. I'm interested because it
hits method dispatch badly.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (5 preceding siblings ...)
2003-09-30 19:39 ` aph at gcc dot gnu dot org
@ 2003-10-06 8:01 ` bonzini at gnu dot org
2003-12-18 17:39 ` steven at gcc dot gnu dot org
` (17 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: bonzini at gnu dot org @ 2003-10-06 8:01 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=12419
------- Additional Comments From bonzini at gnu dot org 2003-10-06 08:01 -------
This patch
http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01655.html
was reviewed by rth who suggested an alternative approach:
http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00482.html
> As for Zdenek's proposed prepass patch... I think it would be
> better to not iterate over the entire instruction stream twice.
> We could, for instance, change the return value of purge_addressof_1
> to be three-state, with the new return location indicating that
> we should re-process this insn at the end.
Paolo
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (6 preceding siblings ...)
2003-10-06 8:01 ` bonzini at gnu dot org
@ 2003-12-18 17:39 ` steven at gcc dot gnu dot org
2004-01-04 9:11 ` pinskia at gcc dot gnu dot org
` (16 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-18 17:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2003-12-18 17:29 -------
The bug is still present on mainline...
(cc1 -O2 -fomit-frame-pointer-march=i686 -mtune=i686 ):
foo:
pushl %ebx
subl $8, %esp
movl a, %ebx
call f
movl a, %eax
addl $8, %esp
addl %eax, %ebx
movl %ebx, %eax
popl %ebx
ret
Just for fun, here's what tree-ssa makes of it
foo:
pushl %ebx
subl $8, %esp
movl a, %ebx
call f
addl $8, %esp
leal (%ebx,%ebx), %eax
popl %ebx
ret
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-09-27 06:36:21 |2003-12-18 17:29:55
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (7 preceding siblings ...)
2003-12-18 17:39 ` steven at gcc dot gnu dot org
@ 2004-01-04 9:11 ` pinskia at gcc dot gnu dot org
2004-01-04 9:17 ` pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-04 9:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-04 09:11 -------
pessimizes-code is not a blocker for branching so reducing severity and also it looks like
it is also fixed on the tree-ssa.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-01-04 9:11 ` pinskia at gcc dot gnu dot org
@ 2004-01-04 9:17 ` pinskia at gcc dot gnu dot org
2004-01-12 15:09 ` giovannibajo at libero dot it
` (14 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-04 9:17 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (9 preceding siblings ...)
2004-01-04 9:17 ` pinskia at gcc dot gnu dot org
@ 2004-01-12 15:09 ` giovannibajo at libero dot it
2004-01-13 11:46 ` ebotcazou at gcc dot gnu dot org
` (13 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: giovannibajo at libero dot it @ 2004-01-12 15:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-01-12 15:09 -------
pessimizes-code is *very* important especially when it's a regression. Our
releases are not supposed to generate slower code. Bumping priority up again.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (10 preceding siblings ...)
2004-01-12 15:09 ` giovannibajo at libero dot it
@ 2004-01-13 11:46 ` ebotcazou at gcc dot gnu dot org
2004-01-16 17:33 ` aph at gcc dot gnu dot org
` (12 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-13 11:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-13 11:46 -------
Related to PR opt/13424.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (11 preceding siblings ...)
2004-01-13 11:46 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-16 17:33 ` aph at gcc dot gnu dot org
2004-01-17 8:51 ` [Bug optimization/12419] [3.3/3.4/3.5 " ebotcazou at gcc dot gnu dot org
` (11 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-01-16 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aph at gcc dot gnu dot org 2004-01-16 17:33 -------
Eric, why do you say this is related to opt/13424?
AFAICS the patch there relates only to constructors.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4/3.5 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (12 preceding siblings ...)
2004-01-16 17:33 ` aph at gcc dot gnu dot org
@ 2004-01-17 8:51 ` ebotcazou at gcc dot gnu dot org
2004-03-02 2:22 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-17 8:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-17 08:51 -------
Because PR opt/13424 also relates to RTX_UNCHANGING_P and (fake) double writes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4/3.5 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (13 preceding siblings ...)
2004-01-17 8:51 ` [Bug optimization/12419] [3.3/3.4/3.5 " ebotcazou at gcc dot gnu dot org
@ 2004-03-02 2:22 ` pinskia at gcc dot gnu dot org
2004-03-02 10:03 ` aph at gcc dot gnu dot org
` (9 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-02 2:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Known to fail| |3.4.0 3.3.1
Known to work|3.2 tree-ssa |3.2 tree-ssa 3.2.3
Last reconfirmed|2004-01-13 13:18:28 |2004-03-02 02:22:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4/3.5 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (14 preceding siblings ...)
2004-03-02 2:22 ` pinskia at gcc dot gnu dot org
@ 2004-03-02 10:03 ` aph at gcc dot gnu dot org
2004-03-02 12:16 ` giovannibajo at libero dot it
` (8 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-03-02 10:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aph at gcc dot gnu dot org 2004-03-02 10:03 -------
The severity has been set, increased, and then decreased again. Is
this just a matter of different people's opinions, or is there some
better reason?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4/3.5 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (15 preceding siblings ...)
2004-03-02 10:03 ` aph at gcc dot gnu dot org
@ 2004-03-02 12:16 ` giovannibajo at libero dot it
2004-04-01 17:02 ` jakub at gcc dot gnu dot org
` (7 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: giovannibajo at libero dot it @ 2004-03-02 12:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-03-02 12:16 -------
I think it's just a mistake on Andrew's side, since we already discussed that
this bug is very important. Bumped priority again.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4/3.5 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (16 preceding siblings ...)
2004-03-02 12:16 ` giovannibajo at libero dot it
@ 2004-04-01 17:02 ` jakub at gcc dot gnu dot org
2004-04-05 15:36 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-04-01 17:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2004-04-01 17:02 -------
Patch in http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02251.html, waiting
until PR optimization/13424 is resolved.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug optimization/12419] [3.3/3.4/3.5 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (17 preceding siblings ...)
2004-04-01 17:02 ` jakub at gcc dot gnu dot org
@ 2004-04-05 15:36 ` jakub at gcc dot gnu dot org
2004-06-11 22:21 ` [Bug rtl-optimization/12419] [3.3 " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-04-05 15:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2004-04-05 15:35 -------
Should be fixed on gcc-3_4-branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.4.0 3.3.1 |3.3.1
Target Milestone|3.4.0 |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug rtl-optimization/12419] [3.3 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (18 preceding siblings ...)
2004-04-05 15:36 ` jakub at gcc dot gnu dot org
@ 2004-06-11 22:21 ` pinskia at gcc dot gnu dot org
2004-09-06 14:16 ` aph at gcc dot gnu dot org
` (4 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 22:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.4 |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug rtl-optimization/12419] [3.3 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (19 preceding siblings ...)
2004-06-11 22:21 ` [Bug rtl-optimization/12419] [3.3 " pinskia at gcc dot gnu dot org
@ 2004-09-06 14:16 ` aph at gcc dot gnu dot org
2004-09-28 13:23 ` gdr at gcc dot gnu dot org
` (3 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-09-06 14:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aph at gcc dot gnu dot org 2004-09-06 14:16 -------
Hi, Jakub. What's your state on this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug rtl-optimization/12419] [3.3 Regression] Performace regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (20 preceding siblings ...)
2004-09-06 14:16 ` aph at gcc dot gnu dot org
@ 2004-09-28 13:23 ` gdr at gcc dot gnu dot org
2004-09-28 13:36 ` [Bug rtl-optimization/12419] [3.3 Regression] Performance " jakub at gcc dot gnu dot org
` (2 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-09-28 13:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-09-28 13:23 -------
(In reply to comment #16)
> Should be fixed on gcc-3_4-branch.
(In reply to comment #16)
> Should be fixed on gcc-3_4-branch.
Jakub --
Do you plan to do anything for this on gcc-3_3-branch?
-- Gaby
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|3.2 tree-ssa 3.2.3 3.4.0 4.0|3.2 tree-ssa 3.2.3 3.4.0
| |4.0.0
Target Milestone|3.3.5 |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug rtl-optimization/12419] [3.3 Regression] Performance regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (21 preceding siblings ...)
2004-09-28 13:23 ` gdr at gcc dot gnu dot org
@ 2004-09-28 13:36 ` jakub at gcc dot gnu dot org
2004-09-28 13:56 ` gdr at cs dot tamu dot edu
2004-09-28 13:57 ` gdr at gcc dot gnu dot org
24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-09-28 13:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2004-09-28 13:31 -------
I think 3.3 should probably stay as is.
RTX_UNCHANGING_P turned out to be a can of bugs, there were many changes in that
area in GCC 3.4 (and gcc-3_3-rhl-branch that has basically same code as 3.4 for
that) and there is no single safe patch that can be applied to 3.3.
Either we backport all RTX_UNCHANGING_P changes in 3.4 and exchange one set of
bugs with another one, or keep 3.3 as is.
HEAD got rid of RTX_UNCHANGING_P altogether, so there these kinds of bugs aren't
lurking anymore.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug rtl-optimization/12419] [3.3 Regression] Performance regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (22 preceding siblings ...)
2004-09-28 13:36 ` [Bug rtl-optimization/12419] [3.3 Regression] Performance " jakub at gcc dot gnu dot org
@ 2004-09-28 13:56 ` gdr at cs dot tamu dot edu
2004-09-28 13:57 ` gdr at gcc dot gnu dot org
24 siblings, 0 replies; 26+ messages in thread
From: gdr at cs dot tamu dot edu @ 2004-09-28 13:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at cs dot tamu dot edu 2004-09-28 13:56 -------
Subject: Re: [3.3 Regression] Performance regression: poor optimization of const memory
"jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| I think 3.3 should probably stay as is.
Good! Let's close this bug.
-- gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug rtl-optimization/12419] [3.3 Regression] Performance regression: poor optimization of const memory
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
` (23 preceding siblings ...)
2004-09-28 13:56 ` gdr at cs dot tamu dot edu
@ 2004-09-28 13:57 ` gdr at gcc dot gnu dot org
24 siblings, 0 replies; 26+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-09-28 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-09-28 13:55 -------
Won't fix in 3.3.x
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|3.3.6 |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12419
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2004-09-28 13:56 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-26 14:55 [Bug optimization/12419] New: Performace regression: poor optimization of const memory aph at gcc dot gnu dot org
2003-09-26 14:56 ` [Bug optimization/12419] " aph at gcc dot gnu dot org
2003-09-26 18:35 ` bangerth at dealii dot org
2003-09-27 8:12 ` [Bug optimization/12419] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2003-09-29 23:07 ` janis187 at us dot ibm dot com
2003-09-29 23:15 ` pinskia at gcc dot gnu dot org
2003-09-30 19:39 ` aph at gcc dot gnu dot org
2003-10-06 8:01 ` bonzini at gnu dot org
2003-12-18 17:39 ` steven at gcc dot gnu dot org
2004-01-04 9:11 ` pinskia at gcc dot gnu dot org
2004-01-04 9:17 ` pinskia at gcc dot gnu dot org
2004-01-12 15:09 ` giovannibajo at libero dot it
2004-01-13 11:46 ` ebotcazou at gcc dot gnu dot org
2004-01-16 17:33 ` aph at gcc dot gnu dot org
2004-01-17 8:51 ` [Bug optimization/12419] [3.3/3.4/3.5 " ebotcazou at gcc dot gnu dot org
2004-03-02 2:22 ` pinskia at gcc dot gnu dot org
2004-03-02 10:03 ` aph at gcc dot gnu dot org
2004-03-02 12:16 ` giovannibajo at libero dot it
2004-04-01 17:02 ` jakub at gcc dot gnu dot org
2004-04-05 15:36 ` jakub at gcc dot gnu dot org
2004-06-11 22:21 ` [Bug rtl-optimization/12419] [3.3 " pinskia at gcc dot gnu dot org
2004-09-06 14:16 ` aph at gcc dot gnu dot org
2004-09-28 13:23 ` gdr at gcc dot gnu dot org
2004-09-28 13:36 ` [Bug rtl-optimization/12419] [3.3 Regression] Performance " jakub at gcc dot gnu dot org
2004-09-28 13:56 ` gdr at cs dot tamu dot edu
2004-09-28 13:57 ` gdr 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).