https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128498
Bug ID: 128498
Summary: internal compiler error: in write_builtin_type, at
cp/mangle.cc
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: 0599jiangyc at gmail dot com
Target Milestone: ---
The following code:
```cpp
float __attribute__ ((strub)) f;
void g () { throw &f; }
```
Resulted in this output:
```
<source>:2:20: internal compiler error: in write_builtin_type, at
cp/mangle.cc:3051
```
Trunk reproducer: https://godbolt.org/z/c49Tnn4KE