From: Jakub Jelinek Date: Fri, 6 Nov 2020 08:52:59 +0000 (+0100) Subject: c-common: Remove DEBUG_FUNCTION from verify_sequence_points X-Git-Tag: releases/gcc-10.3.0~655 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b578afcf70ea107add58808fbfd017f0e7b3f2e;p=thirdparty%2Fgcc.git c-common: Remove DEBUG_FUNCTION from verify_sequence_points While perhaps the function name might suggest that it is a verification/debugging only routine, it is actually implementation of the -Wsequence-point warning and so doesn't need the DEBUG_FUNCTION macro on it. 2020-11-06 Jakub Jelinek * c-common.c (verify_sequence_points): Remove DEBUG_FUNCTION. (cherry picked from commit 344106a966857a7d3d9109b66e0acb2efb5d1cd8) --- diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index b6eb40c81229..61a92719df45 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -2041,7 +2041,7 @@ verify_tree (tree x, struct tlist **pbefore_sp, struct tlist **pno_sp, /* Try to warn for undefined behavior in EXPR due to missing sequence points. */ -DEBUG_FUNCTION void +void verify_sequence_points (tree expr) { struct tlist *before_sp = 0, *after_sp = 0;