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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |13.2.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct strt {
    char *_M_dataplus;
    char _M_local_buf[1];
    constexpr strt() noexcept : _M_dataplus(_M_local_buf) {}
    constexpr strt(const strt &__str)  : _M_dataplus(_M_local_buf) {}
};
constexpr  strt  f() {
    return {};
}
constexpr strt HelloWorld = f();
const char *a() { return HelloWorld._M_dataplus; }
```

Reply via email to