This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r247701 - in /branches/gcc-6-branch/gcc: Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 05 May 2017 21:54:53 -0000
- Subject: r247701 - in /branches/gcc-6-branch/gcc: Change...
Author: jakub
Date: Fri May 5 21:54:52 2017
New Revision: 247701
URL: https://gcc.gnu.org/viewcvs?rev=247701&root=gcc&view=rev
Log:
Backported from mainline
2017-04-11 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/80385
* simplify-rtx.c (simplify_unary_operation_1): Don't transform
(not (neg X)) into (plus X -1) for complex or non-integral modes.
* g++.dg/opt/pr80385.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr80385.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/simplify-rtx.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog