re PR tree-optimization/81900 (GCC trunk miscompiles Perl / __sigsetjmp issue)
authorRichard Biener <rguenther@suse.de>
Mon, 21 Aug 2017 13:18:35 +0000 (13:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 21 Aug 2017 13:18:35 +0000 (13:18 +0000)
commit404938eda1ea3f5dcbca089aa7b23dc04f75b9e0
tree192534fbe477f8655f8011eda548a0babc4ce3a4
parent26b14dd952c9ff87aca0d5e68323c4b304cb46f7
re PR tree-optimization/81900 (GCC trunk miscompiles Perl / __sigsetjmp issue)

2017-08-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81900
* tree-ssa-pre.c (compute_antic_aux): Properly compute changed
for blocks with abnormal predecessors.
(compute_antic): Do not set visited flag prematurely.

* gcc.dg/torture/pr81900.c: New testcase.

From-SVN: r251226
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr81900.c [new file with mode: 0644]
gcc/tree-ssa-pre.c