[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2016-04-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #10 from ctice at gcc dot gnu.org --- Author: ctice Date: Fri Apr 8 17:09:09 2016 New Revision: 234832 URL: https://gcc.gnu.org/viewcvs?rev=234832&root=gcc&view=rev Log: Unify changes with Android's GCC 4.9 compiler. Add the followi

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-03-05 Thread yroux at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #9 from Yvan Roux --- Author: yroux Date: Thu Mar 5 14:28:05 2015 New Revision: 221216 URL: https://gcc.gnu.org/viewcvs?rev=221216&root=gcc&view=rev Log: gcc/ 2015-03-05 Yvan Roux Backport from trunk r212011, r214942, r21495

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-02-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-02-06 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #7 from Sebastian Pop --- Author: spop Date: Fri Feb 6 21:08:13 2015 New Revision: 220491 URL: https://gcc.gnu.org/viewcvs?rev=220491&root=gcc&view=rev Log: PR 64878: do not jump thread across more than one back-edge 2015-02-04 Se

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-02-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #6 from Jakub Jelinek --- (In reply to Sebastian Pop from comment #5) > Created attachment 34665 [details] > fix Thanks for working on this. s/accross/across/. Please mail it to gcc-patches once you test it.

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-02-04 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #5 from Sebastian Pop --- Created attachment 34665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34665&action=edit fix The problem is that we jump thread twice across the loop latch: first, from case '{': a

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-02-02 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #4 from Sebastian Pop --- The problem is in the recursion step of fsm_find_control_statement_thread_paths: for (i = 0; i < gimple_phi_num_args (phi); i++) { tree arg = gimple_phi_arg_def (phi, i); basic_block bbi =

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-01-30 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #3 from Sebastian Pop --- -fdbg-cnt=registered_jump_thread:44 passes -fdbg-cnt=registered_jump_thread:45 fails So this is the jump thread that produces the wrong code: Registering FSM jump thread: (10, 114) incoming edge; (4, 93) n

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-01-30 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #2 from Sebastian Pop --- Jump threading is called twice as two separate passes, the "miscompiled" jump thread during the first invocation is: Registering FSM jump thread: (10, 114) incoming edge; (4, 93) nocopy; The "miscompiled"

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-01-30 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 --- Comment #1 from Sebastian Pop --- It fails with -O2 --param max-fsm-thread-paths=10 and does not fail with 9. This is the thread that generates wrong code: Registering FSM jump thread: (102, 6) incoming edge; (5, 128) nocopy;

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2015-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|