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

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Fri Dec 13 21:40:59 2019
New Revision: 279385

URL: https://gcc.gnu.org/viewcvs?rev=279385&root=gcc&view=rev
Log:
c++-coroutines - Fix PR 92933.

This fixes an omission in handling registration of local variables,
where compiler-generated ones have no name.

2019-12-13  Iain Sandoe  <i...@sandoe.co.uk>

        gcc/cp/

        PR c++/92933
        * coroutines.cc (register_local_var_uses): Handle unnamed
        compiler-generated local variables.


Added:
    branches/c++-coroutines/gcc/testsuite/g++.dg/coroutines/torture/pr92933.C
Modified:
    branches/c++-coroutines/ChangeLog.coroutines
    branches/c++-coroutines/gcc/cp/coroutines.cc

Reply via email to