From 8eda074c873d2e7c9625c1bc4837296f0bcf5c52 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 16 Nov 1994 00:45:41 +0000 Subject: [PATCH] (init_function_start): Use POINTER_TYPE_P rather than checking the type against POINTER_TYPE (to include references). From-SVN: r8458 --- gcc/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/function.c b/gcc/function.c index 1a206a9b4cf..3f482af5968 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4761,7 +4761,7 @@ init_function_start (subr, filename, line) warning ("function returns an aggregate"); current_function_returns_pointer - = (TREE_CODE (TREE_TYPE (DECL_RESULT (subr))) == POINTER_TYPE); + = POINTER_TYPE_P (TREE_TYPE (DECL_RESULT (subr))); /* Indicate that we need to distinguish between the return value of the present function and the return value of a function being called. */ -- 2.30.2