public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
@ 2005-10-22 3:13 ` pinskia at gcc dot gnu dot org
2005-10-30 22:47 ` mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-22 3:13 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
2005-10-22 3:13 ` [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference pinskia at gcc dot gnu dot org
@ 2005-10-30 22:47 ` mmitchel at gcc dot gnu dot org
2006-03-11 3:21 ` [Bug tree-optimization/16913] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-30 22:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mmitchel at gcc dot gnu dot org 2005-10-30 22:47 -------
Marked as P5; I don't think missed-optimizations depending on "restrict" are
release-critical.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1/4.2 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
2005-10-22 3:13 ` [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference pinskia at gcc dot gnu dot org
2005-10-30 22:47 ` mmitchel at gcc dot gnu dot org
@ 2006-03-11 3:21 ` mmitchel at gcc dot gnu dot org
2007-01-18 3:02 ` [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11 3:21 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.3 |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-03-11 3:21 ` [Bug tree-optimization/16913] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2007-01-18 3:02 ` gdr at gcc dot gnu dot org
2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-01-18 3:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from gdr at gcc dot gnu dot org 2007-01-18 03:01 -------
Won't fix for GCC-4.0.x
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.4 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2007-01-18 3:02 ` [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
2007-02-14 9:29 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-21 21:48 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
@ 2007-02-14 9:29 ` mmitchel at gcc dot gnu dot org
2007-06-11 0:47 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:29 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=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2007-02-14 9:29 ` mmitchel at gcc dot gnu dot org
@ 2007-06-11 0:47 ` pinskia at gcc dot gnu dot org
2007-07-04 17:02 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-11 0:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2007-06-11 00:47 -------
There are a couple of issues here, first pointer_plus improves the aliasing set
issue, but then PRE comes around and messes it up because it does not add
pointer types which have DECL_BASED_ON_RESTRICT_P/DECL_GET_RESTRICT_BASE setup
correctly.
Disabling PRE on powerpc-linux-gnu (on the pointer_plus branch) is enough to
get the RTL optimizers to optimize away the extra loads and we get for the
inner loop:
.L3:
stfsx 0,9,3
addi 9,9,4
bdnz .L3
Which is almost the best you can do :).
One more issue (for x86) is expand emits code that causes the rtl optimizers
not to optimize well as they only look into loads in sets. I don't know how to
fix that issue without fixing restrict at the tree level.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2007-06-11 0:47 ` pinskia at gcc dot gnu dot org
@ 2007-07-04 17:02 ` pinskia at gcc dot gnu dot org
2008-07-04 16:33 ` [Bug tree-optimization/16913] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-10-01 14:34 ` rguenth at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-04 17:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2007-07-04 17:02 -------
>Which is almost the best you can do :).
Well except to use store with update but that is an IV-OPTs issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.2/4.3/4.4 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2007-07-04 17:02 ` pinskia at gcc dot gnu dot org
@ 2008-07-04 16:33 ` jsm28 at gcc dot gnu dot org
2008-10-01 14:34 ` rguenth at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jsm28 at gcc dot gnu dot org 2008-07-04 16:32 -------
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]
|restrict does not make a |restrict does not make a
|difference |difference
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.2/4.3/4.4 Regression] restrict does not make a difference
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2008-07-04 16:33 ` [Bug tree-optimization/16913] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-10-01 14:34 ` rguenth at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-01 14:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from rguenth at gcc dot gnu dot org 2008-10-01 14:33 -------
This is a dup of PR14187 - we simply fail to implement restrict properly.
*** This bug has been marked as a duplicate of 14187 ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference
2004-08-07 11:42 [Bug tree-optimization/16913] New: [3.5] Regression in alias analysis martin at mpa-garching dot mpg dot de
2005-04-21 5:02 ` [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference mmitchel at gcc dot gnu dot org
2005-07-08 1:41 ` mmitchel at gcc dot gnu dot org
@ 2005-09-27 16:11 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:11 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference
2004-08-07 11:42 [Bug tree-optimization/16913] New: [3.5] Regression in alias analysis martin at mpa-garching dot mpg dot de
2005-04-21 5:02 ` [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference mmitchel at gcc dot gnu dot org
@ 2005-07-08 1:41 ` mmitchel at gcc dot gnu dot org
2005-09-27 16:11 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference
2004-08-07 11:42 [Bug tree-optimization/16913] New: [3.5] Regression in alias analysis martin at mpa-garching dot mpg dot de
@ 2005-04-21 5:02 ` mmitchel at gcc dot gnu dot org
2005-07-08 1:41 ` mmitchel at gcc dot gnu dot org
2005-09-27 16:11 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-21 5:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16913
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-10-01 14:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-16913-2736@http.gcc.gnu.org/bugzilla/>
2005-10-22 3:13 ` [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference pinskia at gcc dot gnu dot org
2005-10-30 22:47 ` mmitchel at gcc dot gnu dot org
2006-03-11 3:21 ` [Bug tree-optimization/16913] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-01-18 3:02 ` [Bug tree-optimization/16913] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
2007-02-14 9:29 ` mmitchel at gcc dot gnu dot org
2007-06-11 0:47 ` pinskia at gcc dot gnu dot org
2007-07-04 17:02 ` pinskia at gcc dot gnu dot org
2008-07-04 16:33 ` [Bug tree-optimization/16913] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-10-01 14:34 ` rguenth at gcc dot gnu dot org
2004-08-07 11:42 [Bug tree-optimization/16913] New: [3.5] Regression in alias analysis martin at mpa-garching dot mpg dot de
2005-04-21 5:02 ` [Bug tree-optimization/16913] [4.0/4.1 Regression] restrict does not make a difference mmitchel at gcc dot gnu dot org
2005-07-08 1:41 ` mmitchel at gcc dot gnu dot org
2005-09-27 16:11 ` mmitchel 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).