[Bug tree-optimization/71522] [5/6/7 Regression] Wrong optimization of memcpy through a var of type long double

2016-06-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71522

--- Comment #4 from Richard Biener  ---
Author: rguenth
Date: Tue Jun 14 10:42:00 2016
New Revision: 237429

URL: https://gcc.gnu.org/viewcvs?rev=237429=gcc=rev
Log:
2016-06-14  Richard Biener  

PR tree-optimization/71522
* tree-ssa.c (non_rewritable_lvalue_p): Do not rewrite non-float
copying into float copying.

* gcc.dg/torture/pr71522.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr71522.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa.c

[Bug tree-optimization/71522] [5/6/7 Regression] Wrong optimization of memcpy through a var of type long double

2016-06-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71522

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
  Known to work||4.9.3
   Target Milestone|--- |5.5
Summary|Wrong optimization of   |[5/6/7 Regression] Wrong
   |memcpy through a var of |optimization of memcpy
   |type long double|through a var of type long
   ||double
  Known to fail||5.1.0, 7.0