aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2021-01-11 09:58:36 +0000
committerTamar Christina <tamar.christina@arm.com>2021-01-11 09:58:36 +0000
commit0c18faac3fb407d182dfa82426d1be7cce587926 (patch)
tree375cf02137d003b016c61e86965888bd99ccdf54 /gcc/errors.c
parentbd4298e1927f6c519d5b7829023b1db7e64592e6 (diff)
downloadgcc-0c18faac3fb407d182dfa82426d1be7cce587926.zip
gcc-0c18faac3fb407d182dfa82426d1be7cce587926.tar.gz
gcc-0c18faac3fb407d182dfa82426d1be7cce587926.tar.bz2
slp: upgrade complex add to new format and fix memory leaks
This fixes a memory leak in complex_add_pattern because I was not calling vect_free_slp_tree when dissolving one side of the TWO_OPERANDS nodes. Secondly it also upgrades the class to the new inteface required by the other patterns. gcc/ChangeLog: * tree-vect-slp-patterns.c (class complex_pattern, class complex_add_pattern): Add parameters to matches. (complex_add_pattern::build): Free memory. (complex_add_pattern::matches): Move validation end of match. (complex_add_pattern::recognize): Likewise.
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions