]> gcc.gnu.org Git - gcc.git/commit
backport "[tail-merge] Fix side-effect test in stmt_local_def"
authorTom de Vries <tdevries@suse.de>
Mon, 3 Sep 2018 10:04:08 +0000 (10:04 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 3 Sep 2018 10:04:08 +0000 (10:04 +0000)
commitbd3cad80c77ec3f3ebc0b99d2fc969bc635a3a4c
tree26da4ec085c33f04e7c1bf02d2e42a6f097d2f33
parentb603b8adf72238e5cb412f89fa98d99aa9a4bd8e
backport "[tail-merge] Fix side-effect test in stmt_local_def"

2018-09-03  Tom de Vries  <tdevries@suse.de>

backport from trunk:
2018-06-21  Tom de Vries  <tdevries@suse.de>

PR tree-optimization/85859
* tree-ssa-tail-merge.c (stmt_local_def): Copy gimple_is_call
test with comment from bb_no_side_effects_p.

* gcc.dg/pr85859.c: New test.

From-SVN: r264054
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85859.c [new file with mode: 0644]
gcc/tree-ssa-tail-merge.c
This page took 0.061493 seconds and 5 git commands to generate.