https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205
--- Comment #8 from SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> --- (In reply to Bernd Edlinger from comment #5) > (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 ? Sorry for confusing you by mentioned ICE, that was because of merge conflict. I have resolved the conflict and applied the patch correctly. The build is successful and I have tested the test reported in this Bugzilla and it is fixed. Thanks.