]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/42108 (50% performance regression)
authorRichard Guenther <rguenther@suse.de>
Sat, 19 Dec 2009 11:24:49 +0000 (11:24 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 19 Dec 2009 11:24:49 +0000 (11:24 +0000)
commitd0ca0bcb2cc8291e2b4d8135fc623c40768b9642
treeb2745fd77ee90ccd6501acc10afa4c7477cba226
parenta8572b62e71dc5b453f3390e4e9111b466201fc8
re PR tree-optimization/42108 (50% performance regression)

2009-12-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42108
* tree-ssa-sccvn.c (last_vuse_ptr): New variable.
(vn_reference_lookup_2): Update last seen VUSE.
(vn_reference_lookup_3): Avoid updating last seen VUSE after
translating.
(visit_reference_op_load): Use last seen VUSE from the first
lookup when entering into the table.

* gfortran.dg/pr42108.f90: New testcase.

From-SVN: r155360
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr42108.f90 [new file with mode: 0644]
gcc/tree-ssa-sccvn.c
This page took 0.068812 seconds and 5 git commands to generate.