mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-21 01:55:15 +08:00
Revert: Workaround following [PATCH] Pul all constants last in tree_swap_operands_p
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01509.html 2014-09-22 Alan Lawrence <alan.lawrence@arm.com> gcc/: * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs. From-SVN: r217927
This commit is contained in:
parent
3b6eaaa53d
commit
8f399c3e85
@ -1,3 +1,9 @@
|
||||
2014-11-21 Alan Lawrence <alan.lawrence@arm.com>
|
||||
|
||||
Revert:
|
||||
2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
|
||||
* fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
|
||||
|
||||
2014-11-21 Andrew Bennett <andrew.bennett@imgtec.com>
|
||||
|
||||
* config/mips/mips.c (mips_process_sync_loop): Place a
|
||||
|
@ -6606,8 +6606,8 @@ tree_swap_operands_p (const_tree arg0, const_tree arg1, bool reorder)
|
||||
if (CONSTANT_CLASS_P (arg0))
|
||||
return 1;
|
||||
|
||||
STRIP_SIGN_NOPS (arg0);
|
||||
STRIP_SIGN_NOPS (arg1);
|
||||
STRIP_NOPS (arg0);
|
||||
STRIP_NOPS (arg1);
|
||||
|
||||
if (TREE_CONSTANT (arg1))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user