gcc/

        PR target/83681
        * config/epiphany/epiphany.h (make_pass_mode_switch_use): Guard
        by not USED_FOR_TARGET.
        (make_pass_resolve_sw_modes): Likewise.
---
 gcc/config/epiphany/epiphany.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h
index b771e0155e5..d8c0f2dc3c5 100644
--- a/gcc/config/epiphany/epiphany.h
+++ b/gcc/config/epiphany/epiphany.h
@@ -879,7 +879,7 @@ enum
 };
 
 extern int epiphany_normal_fp_rounding;
-#ifndef IN_LIBGCC2
+#ifndef USED_FOR_TARGET
 extern rtl_opt_pass *make_pass_mode_switch_use (gcc::context *ctxt);
 extern rtl_opt_pass *make_pass_resolve_sw_modes (gcc::context *ctxt);
 #endif
-- 
2.12.3

Reply via email to