[Bug target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 24 21:37:37 GMT 2022


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

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Obviously the
 6131       if (COMPARISON_CLASS_P (*from_p))
 6132         copy_warning (assign, *from_p);
doesn't work because we are not dealing with a comparison here.


More information about the Gcc-bugs mailing list