On Sat, 2023-12-02 at 20:44 +0800, chenglulu wrote: > > > @@ -657,12 +658,18 @@ abi_str (struct loongarch_abi abi) > > > strlen (loongarch_abi_base_strings[abi.base])); > > > else > > > { > > > + /* This situation has not yet occurred, so in order to avoid > > > the > > > + -Warray-bounds warning during C++ syntax checking, this part > > > + of the code is commented first.*/ > > > + /* > > Just put a "gcc_unreachable ();" here? > Um, I just thought that the code can't go here, I will add a prompt > message here.:-(
If I read the code correctly, this is indeed unreachable so we can just put gcc_unreachable() here. But maybe I'm wrong. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University