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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61819|0                           |1
        is obsolete|                            |

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 61842
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61842&action=edit
gcc16-pr120776-wip.patch

To my big surprise, the instantiation seems to work even for variables defined
outside of the construct, will need to figure out why.
Anyway, this is the first version that can handle some examples of expanion
stmts at runtime (including enumerating, iterating and destructuring); for now
only when defined outside of templates.

Reply via email to