https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123694
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|123615 |
CC| |jakub at gcc dot gnu.org
Summary|[reflection] Internal |Internal Compiler error in
|Compiler error in |guard_tinfo_to_string, at
|guard_tinfo_to_string, at |c-family/c-indentation.cc:6
|c-family/c-indentation.cc:6 |10
|10 |
Keywords|ice-on-invalid-code |ice-on-valid-code
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Better testcase (valid): -std=c++26 -Wmisleading-indentation
int
foo ()
{
int b = 0;
template for (constexpr auto a : { 1, 2L, 3.0 })
b += a;
b++;
return b;
}
This has nothing to do with reflection, it is related to the addition of
expansion statement support.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123615
[Bug 123615] (c++-reflection) - [meta-bug] reflection issue