https://gcc.gnu.org/g:54c739808221058b4c02312d152002351a7610f1

commit 54c739808221058b4c02312d152002351a7610f1
Author: Michael Meissner <[email protected]>
Date:   Mon Sep 21 17:24:54 2026 -0400

    If -mfloat16-gpr-convert, only do print debug information if -mdebug=arg.
    
    2026-09-21  Michael Meissner  <[email protected]>
    
    gcc/
    
            * config/rs6000/rs6000-call.cc (mark_float16_convert_function): If
            -mfloat16-gpr-convert, only do print debug information if 
-mdebug=arg.

Diff:
---
 gcc/config/rs6000/rs6000-call.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000-call.cc b/gcc/config/rs6000/rs6000-call.cc
index 94f6f398d60c..4d64996e6d15 100644
--- a/gcc/config/rs6000/rs6000-call.cc
+++ b/gcc/config/rs6000/rs6000-call.cc
@@ -604,7 +604,8 @@ mark_float16_convert_function (char *name)
 {
   tree id = get_identifier (name);
   id->base.default_def_flag = 1;
-  fprintf (stderr, "=== %s ===\n", name);
+  if (TARGET_DEBUG_ARG)
+    fprintf (stderr, "Pass _Float16/__bf16 via GPRs: %s\n", name);
 }
 
 /* Initialize a variable CUM of type CUMULATIVE_ARGS

Reply via email to