[Bug target/80671] New: config/aarch64/cortex-a57-fma-steering.c:416: bad statement order ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon May 8 16:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80671
Bug ID: 80671
Summary: config/aarch64/cortex-a57-fma-steering.c:416: bad
statement order ?
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
trunk/gcc/config/aarch64/cortex-a57-fma-steering.c:416]: (error) Dereferencing
'other_forest' after it is deallocated / released
Source code is
delete other_forest;
this->m_nb_nodes += other_forest->m_nb_nodes;
Somewhat unwise to delete something then use it.
Maybe other way around would be better.
More information about the Gcc-bugs
mailing list