]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/115694 - ICE with complex store rewrite
authorRichard Biener <rguenther@suse.de>
Sun, 30 Jun 2024 11:07:14 +0000 (13:07 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 1 Jul 2024 05:56:57 +0000 (07:56 +0200)
commit543a5b9da964f821b9e723ed9c93d6cdca464d47
tree2d9529edfd1b23ddb90f314ccf0e5b9b83ce8795
parent55f80c690c5fa59836646565a9dee2a3f68374a0
tree-optimization/115694 - ICE with complex store rewrite

The following adds a missed check when forwprop attempts to rewrite
a complex store.

PR tree-optimization/115694
* tree-ssa-forwprop.cc (pass_forwprop::execute): Check the
store is complex before rewriting it.

* g++.dg/torture/pr115694.C: New testcase.
gcc/testsuite/g++.dg/torture/pr115694.C [new file with mode: 0644]
gcc/tree-ssa-forwprop.cc
This page took 0.050467 seconds and 5 git commands to generate.