https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123526
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-01-10
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct base {
[[__gnu__::__gnu_inline__]]
constexpr inline explicit base() {}
};
struct MyException : public base {
using base::base;
};
int main() {
throw MyException();
}
```
Without the gnu_inline, it works.
The above has failed to link since GCC 9.