projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
2e64f8b
)
re PR middle-end/38878 (gcc.dg/tree-ssa/foldaddr-1.c XFAILed)
author
Jakub Jelinek
<jakub@redhat.com>
Mon, 14 Mar 2011 20:12:16 +0000
(21:12 +0100)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Mon, 14 Mar 2011 20:12:16 +0000
(21:12 +0100)
PR middle-end/38878
* fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add
STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X
and C - X == X also strip nops from +/-/p+ operand.
When optimizing -X == C, fold C to arg0's type.
* gcc.dg/tree-ssa/foldaddr-1.c: Remove xfail.
From-SVN: r170957
No differences found