https://gcc.gnu.org/g:0f3a6b3972f6e6886297e59fcaf85f374859ca46

commit r16-275-g0f3a6b3972f6e6886297e59fcaf85f374859ca46
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Apr 29 09:44:29 2025 +0800

    target.def: Remove TARGET_PROMOTE_FUNCTION_RETURN reference
    
    Since TARGET_PROMOTE_FUNCTION_RETURN is no longer used, remove its
    reference from target.def.
    
            PR target/119985
            * target.def: Remove TARGET_PROMOTE_FUNCTION_RETURN reference.
            * doc/tm.texi: Regenerated.
    
    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Diff:
---
 gcc/doc/tm.texi | 4 ----
 gcc/target.def  | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index a96700c0d38e..5e305643b3a0 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -4774,10 +4774,6 @@ that element as the canonical location and ignore the 
others.  The m68k
 port uses this type of @code{parallel} to return pointers in both
 @samp{%a0} (the canonical location) and @samp{%d0}.
 
-If @code{TARGET_PROMOTE_FUNCTION_RETURN} returns true, you must apply
-the same promotion rules specified in @code{PROMOTE_MODE} if
-@var{valtype} is a scalar type.
-
 If the precise function being called is known, @var{func} is a tree
 node (@code{FUNCTION_DECL}) for it; otherwise, @var{func} is a null
 pointer.  This makes it possible to use a different value-returning
diff --git a/gcc/target.def b/gcc/target.def
index 6c7cdc8126b2..38903eb567a7 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -5337,10 +5337,6 @@ that element as the canonical location and ignore the 
others.  The m68k\n\
 port uses this type of @code{parallel} to return pointers in both\n\
 @samp{%a0} (the canonical location) and @samp{%d0}.\n\
 \n\
-If @code{TARGET_PROMOTE_FUNCTION_RETURN} returns true, you must apply\n\
-the same promotion rules specified in @code{PROMOTE_MODE} if\n\
-@var{valtype} is a scalar type.\n\
-\n\
 If the precise function being called is known, @var{func} is a tree\n\
 node (@code{FUNCTION_DECL}) for it; otherwise, @var{func} is a null\n\
 pointer.  This makes it possible to use a different value-returning\n\

Reply via email to