[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 14 16:37:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:7d35cad11152895d239f103f1fffbd6f0cb58c8b
commit r8-9999-g7d35cad11152895d239f103f1fffbd6f0cb58c8b
Author: Jakub Jelinek <jakub@redhat.com>
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.
More information about the Gcc-bugs
mailing list