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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <[email protected]>:

https://gcc.gnu.org/g:a1165e72b9ed9d5be6b538b42318aca989d73046

commit r16-6928-ga1165e72b9ed9d5be6b538b42318aca989d73046
Author: Jakub Jelinek <[email protected]>
Date:   Tue Jan 20 17:06:54 2026 +0100

    c++: Fix -Wmisleading-indentation ICE on expansion stmt [PR123694]

    The following testcase ICEs in the -Wmisleading-indentation warning.
    For C++11 and later expansion statement can appear in the set of keywords
    the warning sees and it is the first keyword of it (for expansion stmt
    of a pair of keywords), so RID_TEMPLATE.

    2026-01-20  Jakub Jelinek  <[email protected]>

            PR c++/123694
            * c-indentation.cc (guard_tinfo_to_string): Handle RID_TEMPLATE
            for C++11 or later.

            * g++.dg/cpp26/expansion-stmt28.C: New test.

Reply via email to