summaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-16 05:09:41 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-16 05:09:41 +0000
commitcc0bdf913a21eb24779e7b14eb43de0c44327486 (patch)
tree2d5c137139fce6357a14c09e7a739e3529131431 /gcc/coverage.c
parentee2f0bbc7711fa22efa2aa08535294361d3aa792 (diff)
downloadgcc-cc0bdf913a21eb24779e7b14eb43de0c44327486.tar.gz
* fold-const.c (swap_tree_comparison): No longer static.
(tree_swap_operands_p): Similarly. Return true if both operands are SSA_NAMEs and the first operand has a higher version number than the second operand. * tree.h (swap_tree_comparison): Prototype. (tree_swap_operands_p): Prototype. * tree-ssa-operands.c (get_expr_operands): For commutative operators and relational comparisons, canonicalize the order of the operands. * gcc.dg/tree-ssa/20040615-1.c: New test. * gcc.dg/tree-ssa/20030824-1.c: Update expected output to be less sensitive to operand ordering. * gcc.dg/tree-ssa/20030824-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions