在 2023/12/2 下午9:41, Xi Ruoyao 写道:
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.

I agree that if it runs this far, it's a problem with the code design.

In addition,I've sorted out the patches to remove the unnecessary guards.,

and I will send the v2 version of the patch immediately.

Reply via email to