Hi,
This is an obvious patch fixing typo in maybe_promote_captured_temps,
previously, the vnum (== 0) is used for all captured temps...

Will commit later.

Thanks,
bin

gcc/cp
2020-02-05  Bin Cheng  <bin.ch...@linux.alibaba.com>

        * coroutines.cc (maybe_promote_captured_temps): Increase the index
        number for temporary variables' name.

Attachment: obvious-vnum.patch
Description: Binary data

Reply via email to