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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-01-02
           Keywords|                            |ice-on-valid-code
                 CC|                            |andi-gcc at firstfloor dot org
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced to:
```
template <auto val> struct to_str;
template <auto rname>
void set()
{
  asm((to_str<"" + rname>::value));
}

```


This is valid code at this point since it is unknown what the value of
to_str<"" + rname>::value wil be.

Reply via email to