diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-10-14 16:35:42 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-10-14 16:35:42 +0100 |
commit | 73f34f4d02d72dd61e4573402a202b35cf3cce0f (patch) | |
tree | d68c11e8bcd35d738c7177e6b8564dcc238c6f82 /config/gcc-plugin.m4 | |
parent | 1975395021e34088865e6566e281622a218be70e (diff) | |
download | gcc-73f34f4d02d72dd61e4573402a202b35cf3cce0f.tar.gz |
rs6000: Fix memory leak in rs6000_density_test
rs6000_density_test has an early exit test between a call
to get_loop_body and the corresponding free. This would
lead to a memory leak if the early exit is taken.
gcc/
* config/rs6000/rs6000.c (rs6000_density_test): Move early
exit test further up the function.
Diffstat (limited to 'config/gcc-plugin.m4')
0 files changed, 0 insertions, 0 deletions