https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205
--- Comment #5 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to SRINATH PARVATHANENI from comment #4) > With the above patch I'm getting ICE as below while building arm-none-eabi > target: > > checking for scalbnl... during RTL pass: expand > > generice_bug/src/gcc/libstdc++-v3/src/c++98/locale_init.cc: In constructor > 'std::locale::_Impl::_Impl(std::size_t)': > > generice_bug/src/gcc/libstdc++-v3/src/c++98/locale_init.cc:471:3: internal > compiler error: tree check: expected bit_field_ref or mem_ref, have ssa_name > in expand_assignment, at expr.c:5203 > 471 | locale::_Impl:: > | ^~~~~~ Hmm, it looks like I cannot reproduce this, which version did you use for that ? what is in line 5203 of expr.c ?