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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-09-02
     Ever confirmed|0                           |1
      Known to fail|                            |11.3.0
      Known to work|                            |11.2.0

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Better C++11 simplified testcase which fails all the way back to 11.3.0:
```
typedef __SIZE_TYPE__ size_t;
template <typename>
void
place_order ()
{
  char __trans_tmp_1;
  const auto action_str{ &__trans_tmp_1 };
  size_t { __builtin_strlen (action_str) };
}
```

Changing action_str to away from auto type works too. Not having the function
as a template works too.

Reply via email to