[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-05-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1c3c885e1bba86f01917445928006d26062c5b15 commit r10-10668-g1c3c885e1bba86f01917445928006d26062c5b15 Author: Jakub Jelinek

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:91ac88cada3960517415bc92ae6d2d13a5e779a0 commit r11-9502-g91ac88cada3960517415bc92ae6d2d13a5e779a0 Author: Jakub Jelinek

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1a5145f1e3adf8b2ba4ad416a5ddef59a1e34d48 commit r12-6705-g1a5145f1e3adf8b2ba4ad416a5ddef59a1e34d48 Author: Jakub Jelinek Date:

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-01-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 --- Comment #3 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #2) > Now, I think the initializer shouldn't be > refering to the slot decl (e.g. take its address), because that wouldn't be > a constant expression. Note that

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 --- Comment #2 from Jakub Jelinek --- Because of the consteval build_over_call will do: 9920 if (obj_arg && is_dummy_object (obj_arg)) 9921{ 9922 call = build_cplus_new (DECL_CONTEXT (fndecl), call,