[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-07-06 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-07-06 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #13 from vries at gcc dot gnu.org 2012-07-06 11:22:15 UTC --- Author: vries Date: Fri Jul 6 11:22:12 2012 New Revision: 189324 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189324 Log: 2012-07-06 Tom de Vries PR tree-o

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-07-06 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #12 from vries at gcc dot gnu.org 2012-07-06 11:22:10 UTC --- Author: vries Date: Fri Jul 6 11:22:06 2012 New Revision: 189323 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189323 Log: 2012-07-06 Tom de Vries PR tree-o

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-07-06 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #12 from vries at gcc dot gnu.org 2012-07-06 11:22:10 UTC --- Author: vries Date: Fri Jul 6 11:22:06 2012 New Revision: 189323 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189323 Log: 2012-07-06 Tom de Vries PR tree-o

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-04-26 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #11 from vries at gcc dot gnu.org 2012-04-27 06:35:30 UTC --- All listed examples fixed in r186894. Todo: follow-up with fix for: ... struct S { int i; }; extern struct S foo (void); extern int foo2 (void); struct S s; int bar (int c)

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-04-26 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #10 from vries at gcc dot gnu.org 2012-04-27 06:28:55 UTC --- Author: vries Date: Fri Apr 27 06:28:49 2012 New Revision: 186895 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186895 Log: 2012-04-27 Tom de Vries PR tree-o

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-04-26 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #9 from vries at gcc dot gnu.org 2012-04-27 06:12:55 UTC --- Author: vries Date: Fri Apr 27 06:12:49 2012 New Revision: 186894 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186894 Log: 2012-04-27 Tom de Vries PR tree-op

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-02-01 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #8 from vries at gcc dot gnu.org 2012-02-01 11:20:31 UTC --- submitted patch: http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01513.html

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-25 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 vries at gcc dot gnu.org changed: What|Removed |Added Attachment #26430|0 |1 is obsolete|

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-24 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|una

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #5 from vries at gcc dot gnu.org 2012-01-23 14:10:38 UTC --- Created attachment 26430 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26430 Tentative patch 2012-01-23 Tom de Vries PR tree-optimization/51879 tree-ssa-scc

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #3 from Richard Guenther 2012-01-18 10:45:01 UTC --- (In reply to comment #2) > I'm afraid a lot would break. It really depends on what you use VN for and on > what code. > If you have: > D.12345_1 = bar (7); > D.12346_2 = bar (7

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #2 from Jakub Jelinek 2012-01-18 10:36:39 UTC --- I'm afraid a lot would break. It really depends on what you use VN for and on what code. If you have: D.12345_1 = bar (7); D.12346_2 = bar (7); and bar isn't const/pure call, then

[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls

2012-01-17 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879 --- Comment #1 from vries at gcc dot gnu.org 2012-01-18 05:41:34 UTC --- This works for the 3 examples: ... Index: tree-ssa-sccvn.c === --- tree-ssa-sccvn.c (revision 182098) +++ tree-