tree-optimization/93953 - avoid reference into hash-map
authorRichard Biener <rguenther@suse.de>
Thu, 27 Feb 2020 12:42:56 +0000 (13:42 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 27 Feb 2020 12:44:03 +0000 (13:44 +0100)
commite840185b31e40466e1575507200e1600e2343454
treed9f4fc8a6dbc7fb275622cda08714858b6c0bdc7
parent82863a5cc99143f93203b2caed3750c7313a87ea
tree-optimization/93953 - avoid reference into hash-map

When possibly expanding a hash-map avoid keeping a reference to an
entry.

2020-02-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/93953
* tree-vect-slp.c (slp_copy_subtree): Avoid keeping a reference
to the hash-map entry.

* gcc.dg/pr93953.c: New testcase.
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr93953.c [new file with mode: 0644]
gcc/tree-vect-slp.c