r261927 - in /branches/gcc-7-branch/gcc: Change...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Jun 22 20:46:00 GMT 2018
Author: jakub
Date: Fri Jun 22 20:46:37 2018
New Revision: 261927
URL: https://gcc.gnu.org/viewcvs?rev=261927&root=gcc&view=rev
Log:
Backported from mainline
2018-03-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/84841
* tree-ssa-reassoc.c (INTEGER_CONST_TYPE): Change to 1 << 4 from
1 << 3.
(FLOAT_ONE_CONST_TYPE): Define.
(constant_type): Return FLOAT_ONE_CONST_TYPE for -1.0 and 1.0.
(sort_by_operand_rank): Put entries with higher constant_type last
rather than first to match comments.
* gcc.dg/pr84841.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84841.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/tree-ssa-reassoc.c
More information about the Gcc-cvs
mailing list