https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115778
--- Comment #3 from Sean Murthy <s.murthy at outlook dot com> --- (In reply to Andrew Pinski from comment #2) > > The same code has no error in GCC 14.1. > > It ICEs with -fchecking starting in GCC 11.1.0. But I don't know if it is a > regression or it was just the checking that was added then ... Oh yeah. 10.5 has no issues with -fchecking. I couldn't spend the time yesterday to explore that. Thanks.