As discussed in
https://gcc.gnu.org/pipermail/gcc-patches/2025-February/675978.html
this tweaks the dump messasge added with the fix for PR118320 since it doesn't
just apply to load pairs.

Tested on aarch64-linux-gnu, pushed to trunk.

Alex

gcc/ChangeLog:

        PR rtl-optimization/118320
        * pair-fusion.cc (pair_fusion_bb_info::fuse_pair): Tweak wording in dump
        message when punting on invalid use arrays.
diff --git a/gcc/pair-fusion.cc b/gcc/pair-fusion.cc
index 5708d0f3b67..72e64246534 100644
--- a/gcc/pair-fusion.cc
+++ b/gcc/pair-fusion.cc
@@ -1742,7 +1742,7 @@ pair_fusion_bb_info::fuse_pair (bool load_p,
     {
       if (dump_file)
        fprintf (dump_file,
-                "  load pair: i%d and i%d use different definiitions of"
+                "  rejecting pair: i%d and i%d use different definiitions of"
                 " the same register\n",
                 insns[0]->uid (), insns[1]->uid ());
       return false;

Reply via email to