aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivcanon.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2021-06-06 16:30:29 -0400
committerTrevor Saunders <tbsaunde@tbsaunde.org>2021-06-17 04:43:27 -0400
commit265af872a1f8d7ffda2c4056d1d80a3ec4fc8650 (patch)
treeee5fef6ca6bb101bc48ba0c0762694f0a43b1967 /gcc/tree-ssa-loop-ivcanon.c
parente9681f5725f54a58098678cdea19d1e90d9a36e3 (diff)
downloadgcc-265af872a1f8d7ffda2c4056d1d80a3ec4fc8650.zip
gcc-265af872a1f8d7ffda2c4056d1d80a3ec4fc8650.tar.gz
gcc-265af872a1f8d7ffda2c4056d1d80a3ec4fc8650.tar.bz2
return auto_vec from cgraph_node::collect_callers
This ensures the callers of collect_callers () take ownership of the vector and free it when appropriate. Signed-off-by: Trevor Saunders <tbsaunde@tbsaunde.org> gcc/ChangeLog: * cgraph.c (cgraph_node::collect_callers): Return auto_vec<cgraph_edge *>. * cgraph.h (cgraph_node::collect_callers): Likewise. * ipa-cp.c (create_specialized_node): Adjust. (decide_about_value): Likewise. (decide_whether_version_node): Likewise. * ipa-sra.c (process_isra_node_results): Likewise.
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
0 files changed, 0 insertions, 0 deletions