summaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-19 06:43:54 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-19 06:43:54 +0000
commit56778b62f2fb68717c7085c4a112f65e8bed4701 (patch)
tree01f06939e38904f487d71de67d847c5e7cc30273 /gcc/passes.def
parentced41b938de5f6deff45874d942b4d549fa52f88 (diff)
downloadgcc-56778b62f2fb68717c7085c4a112f65e8bed4701.tar.gz
2016-01-18 Jeff Law <law@redhat.com>
PR tree-optimization/69320 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean ranged object, do nothing if the RHS constant is not [0..1]. (optimize_stmt): Comparing a boolean ranged object against a constant outside [0..1] results in a compile-time constant. * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary test. PR tree-optimization/69320 * gcc.c-torture/pr69320-1.c: New test. * gcc.c-torture/pr69320-2.c: New test. * gcc.c-torture/pr69320-3.c: New test. * gcc.c-torture/pr69320-4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232548 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.def')
0 files changed, 0 insertions, 0 deletions