https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90578
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from anlauf at gcc dot gnu.org --- Testcase fixed to no longer invoke undefined behavior. Documentation fixed, as well as arithmetic shifts which SHIFT=BIT_SIZE(arg1). No runtime test for invalid SHIFT values. Please open a separate PR if you think this is important.