[Bug tree-optimization/61197] [4.10 Regression] wrong code at -O3 on x86_64-linux (in both 32-bit and 64-bit modes)

2014-05-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61197

Marc Glisse  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Marc Glisse  ---
(In reply to Richard Biener from comment #3)
> Make sure to add all the various testcases.

Done.


[Bug tree-optimization/61197] [4.10 Regression] wrong code at -O3 on x86_64-linux (in both 32-bit and 64-bit modes)

2014-05-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61197

--- Comment #4 from Marc Glisse  ---
Author: glisse
Date: Sat May 17 12:37:58 2014
New Revision: 210554

URL: http://gcc.gnu.org/viewcvs?rev=210554&root=gcc&view=rev
Log:
2014-05-17  Marc Glisse  

PR tree-optimization/61140
PR tree-optimization/61150
PR tree-optimization/61197
gcc/
* tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
gcc/testsuite/
* gcc.dg/tree-ssa/pr61140.c: New file.
* gcc.dg/tree-ssa/pr61150.c: New file.
* gcc.dg/tree-ssa/pr61197.c: New file.


Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr61140.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr61150.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr61197.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-phiopt.c


[Bug tree-optimization/61197] [4.10 Regression] wrong code at -O3 on x86_64-linux (in both 32-bit and 64-bit modes)

2014-05-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61197

--- Comment #3 from Richard Biener  ---
Make sure to add all the various testcases.


[Bug tree-optimization/61197] [4.10 Regression] wrong code at -O3 on x86_64-linux (in both 32-bit and 64-bit modes)

2014-05-16 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61197

--- Comment #2 from Marc Glisse  ---
(In reply to Zhendong Su from comment #0)
> It seems different from PR 61140 and PR 61150 as -fno-tree-dce makes both
> disappear, but not this one. 

Still the same bug (fixed by the same patch). I am sorry it is taking me so
long to commit it, it has been approved but I am traveling this week. Maybe
tomorrow.


[Bug tree-optimization/61197] [4.10 Regression] wrong code at -O3 on x86_64-linux (in both 32-bit and 64-bit modes)

2014-05-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61197

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-05-16
 CC||glisse at gcc dot gnu.org,
   ||jakub at gcc dot gnu.org
   Target Milestone|--- |4.10.0
Summary|wrong code at -O3 on|[4.10 Regression] wrong
   |x86_64-linux (in both   |code at -O3 on x86_64-linux
   |32-bit and 64-bit modes)|(in both 32-bit and 64-bit
   ||modes)
 Ever confirmed|0   |1

--- Comment #1 from Jakub Jelinek  ---
Started with r210212.