From: H.J. Lu Date: Tue, 29 Apr 2025 01:44:29 +0000 (+0800) Subject: target.def: Remove TARGET_PROMOTE_FUNCTION_RETURN reference X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f3a6b3972f6e6886297e59fcaf85f374859ca46;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index a96700c0d38..5e305643b3a 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 6c7cdc8126b..38903eb567a 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\