middle-end/98638 - avoid SSA reference to stmts after SSA deconstruction
authorRichard Biener <rguenther@suse.de>
Tue, 19 Jan 2021 12:40:39 +0000 (13:40 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 19 Jan 2021 13:32:14 +0000 (14:32 +0100)
commitf27cd6f42261e838677dfd0652f09cc0dfd6a42b
tree8e8a1608e48684b277f7097720aff9af0e649efc
parent4b690f161b82e428dbe648075da215daa52be0ea
middle-end/98638 - avoid SSA reference to stmts after SSA deconstruction

Since SSA names do leak into global tree data structures like
TYPE_SIZE or in this case GFC_DECL_SAVED_DESCRIPTOR because of
frontend bugs we have to be careful to wipe references to the
CFG when we deconstruct SSA form because we now do ggc_free that.

2021-01-19  Richard Biener  <rguenther@suse.de>

PR middle-end/98638
* tree-ssanames.c (fini_ssanames): Zero SSA_NAME_DEF_STMT.
gcc/tree-ssanames.c