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. OK for master? Thanks. -- H.J.
From f6c6dd36de27791fdf8bf156933e0eb807858072 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <hjl.to...@gmail.com> Date: Tue, 29 Apr 2025 09:44:29 +0800 Subject: [PATCH] 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> --- 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 f1027c8d5ba..4f61f344bfc 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -4783,10 +4783,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 dd4643cdf3f..8628ee2caf2 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -5348,10 +5348,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\ -- 2.49.0