[Bug c++/97938] [9/10 Regression] g++ crash when inferring type of auto parameter pack in lambda capture

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 2 17:03:17 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97938

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[9/10/11 Regression]  g++   |[9/10 Regression]  g++
                   |crash when inferring type   |crash when inferring type
                   |of auto parameter pack in   |of auto parameter pack in
                   |lambda capture              |lambda capture

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for GCC 11 so far.  Note that the original testcase has a syntax error in
print_args; the fold-expression line should be

  (std::cout << ... << args);


More information about the Gcc-bugs mailing list