Call get_ops just for SSA_NAMEs (PR tree-optimization/71987)
authorMartin Liska <mliska@suse.cz>
Mon, 25 Jul 2016 10:50:30 +0000 (12:50 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 25 Jul 2016 10:50:30 +0000 (10:50 +0000)
commit16b0596564668914c43e4dce6724af1e602664d4
treef44c5cd3ee4d5141243b26e7fcc9ad504976a038
parent19bb30c065848fab2edc67f56990704e42345b2b
Call get_ops just for SSA_NAMEs (PR tree-optimization/71987)

PR tree-optimization/71987
* tree-ssa-reassoc.c (maybe_optimize_range_tests): Call get_ops
just for SSA_NAMEs. Fix GNU coding style.
* gcc.dg/torture/pr71987.c: New test.

From-SVN: r238704
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr71987.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c