https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121477
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2025-08-08
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note both the C and C++ front-end reject this bitfields with "m" constraint
with the following error message:
<source>:5:29: error: attempt to take address of bit-field
5 | asm ("%0" :: "m" (s.x) );
| ^