[Bug middle-end/104721] currently_expanding_gimple_stmt isn't cleared properly

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 1 14:04:54 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps use C++ RAII for this?
Something like make_temp_override in the C++ FE.
Then next time somebody adds an early return it wouldn't need to be adjusted.


More information about the Gcc-bugs mailing list