[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.4
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed for 8.4+ and 9.3+ too.
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 --- Comment #5 from CVS Commits --- The releases/gcc-8 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7d35cad11152895d239f103f1fffbd6f0cb58c8b commit r8--g7d35cad11152895d239f103f1fffbd6f0cb58c8b Author: Jakub Jelinek Date: Fri Feb 14 15:27:21 2020 +0100 re PR c++/92992 (Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis) PR c++/92992 * call.c (convert_arg_to_ellipsis): For decltype(nullptr) arguments that have side-effects use cp_build_compound_expr. * g++.dg/cpp0x/nullptr45.C: New test.
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:beee53d59e32e7859b32b19bc7e222e3d04cc5f0 commit r9-8155-gbeee53d59e32e7859b32b19bc7e222e3d04cc5f0 Author: Jakub Jelinek Date: Wed Jan 22 17:39:55 2020 +0100 re PR c++/92992 (Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis) PR c++/92992 * call.c (convert_arg_to_ellipsis): For decltype(nullptr) arguments that have side-effects use cp_build_compound_expr. * g++.dg/cpp0x/nullptr45.C: New test.
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 --- Comment #3 from Jakub Jelinek --- Fixed on the trunk so far.
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Fri Dec 20 23:15:52 2019 New Revision: 279680 URL: https://gcc.gnu.org/viewcvs?rev=279680=gcc=rev Log: PR c++/92992 * call.c (convert_arg_to_ellipsis): For decltype(nullptr) arguments that have side-effects use cp_build_compound_expr. * g++.dg/cpp0x/nullptr45.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/nullptr45.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/testsuite/ChangeLog
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 --- Comment #1 from Jakub Jelinek --- Created attachment 47522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47522=edit gcc10-pr92992.patch Untested fix.
[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2019-12-18 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1