https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119518
Jakub Jelinek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119518
--- Comment #4 from GCC Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:94816c640adf33bb25c79b9a0d5a74d35724b650
commit r15-9051-g94816c640adf33bb25c79b9a0d5a74d35724b650
Author: Jakub Jelinek
Date: M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119518
--- Comment #3 from Andrew Pinski ---
So the original code for this was added with r0-49393-gb2dd096b0c7e5c. If the
definition of foo was after the use at the time the GCC would emit the S::~S
call (unless you compiled with -funit-at-a-time whic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119518
Andrew Pinski changed:
What|Removed |Added
Summary|C++ FE violates noipa |C++ FE violates noipa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119518
--- Comment #1 from Jakub Jelinek ---
Untested fix:
--- gcc/cp/decl.cc.jj 2025-03-27 19:13:58.0 +0100
+++ gcc/cp/decl.cc 2025-03-28 16:41:18.054543572 +0100
@@ -19452,7 +19452,8 @@ finish_function (bool inline_p)
&& !cp_fun