]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/123986 - upon SLP analysis rollback, release data
authorRichard Biener <rguenther@suse.de>
Thu, 5 Feb 2026 11:26:18 +0000 (12:26 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 5 Feb 2026 12:58:53 +0000 (13:58 +0100)
commit12e97ffdb516bae81b823a247250dc2d7ce8e566
tree3c98744ac69d9564f1d2c99d2ef835ff78c00ea9
parent856ba1d7f786b0b5e53042e292296391ae1b0da4
tree-optimization/123986 - upon SLP analysis rollback, release data

The following makes sure to release any SLP kind specific data when
rolling back earlier successful analysis.  This avoids crashing
when re-analyzing such node via another graph entry.

PR tree-optimization/123986
* tree-vect-slp.cc (vect_slp_analyze_operations): When
rolling back analyzed nodes, release node specific data
and reset SLP_TREE_TYPE.
gcc/tree-vect-slp.cc