This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/84272] [8 Regression] AddressSanitizer: heap-use-after-free ../../gcc/config/aarch64/cortex-a57-fma-steering.c:519 in fma_node::get_parity()


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84272

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43382
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43382&action=edit
gcc8-pr84272-2.patch

Or defer deletion of all the fma_nodes until the end, whether they are root or
not.  I'd fear that even removing just non-root nodes might mean the following
processing of the children might still look at the parent nodes.

Untested as well.  I'd appreciate feedback from the pass author.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]