aboutsummaryrefslogtreecommitdiff
path: root/ar-lib
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-09-02 13:36:13 +0200
committerRichard Biener <rguenther@suse.de>2022-09-02 14:33:07 +0200
commitbe1b42de9c151d46c89f9a8f82d4c5839a19ea94 (patch)
treeedf8f4c735300d5b6fb3d2a4d5fa28e3296c03cb /ar-lib
parentd72ca12b846a9f5c01674b280b1817876c77888f (diff)
downloadgcc-be1b42de9c151d46c89f9a8f82d4c5839a19ea94.zip
gcc-be1b42de9c151d46c89f9a8f82d4c5839a19ea94.tar.gz
gcc-be1b42de9c151d46c89f9a8f82d4c5839a19ea94.tar.bz2
tree-optimization/106809 - compile time hog in VN
The dominated_by_p_w_unex function is prone to high compile time. With GCC 12 we introduced a VN run for uninit diagnostics which now runs into a degenerate case with bison generated code. Fortunately this case is easy to fix with a simple extra check - a more general fix needs more work. PR tree-optimization/106809 * tree-ssa-sccvn.cc (dominaged_by_p_w_unex): Check we have more than one successor before doing extra work. * gcc.dg/torture/pr106809.c: New testcase.
Diffstat (limited to 'ar-lib')
0 files changed, 0 insertions, 0 deletions