[Bug c++/119518] C++ FE violates noipa attribute for nothrow

2025-03-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119518] C++ FE violates noipa attribute for nothrow

2025-03-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119518] C++ FE violates noipa attribute for nothrow

2025-03-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119518] C++ FE violates noipa attribute for nothrow

2025-03-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/119518] C++ FE violates noipa attribute

2025-03-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
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