[committed] common: Remove DEBUG_FUNCTION from verify_sequence_points
Jakub Jelinek
jakub@redhat.com
Fri Nov 6 08:56:10 GMT 2020
Hi!
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.
Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as
obvious.
2020-11-06 Jakub Jelinek <jakub@redhat.com>
* c-common.c (verify_sequence_points): Remove DEBUG_FUNCTION.
--- gcc/c-family/c-common.c.jj 2020-11-03 11:15:07.169681012 +0100
+++ gcc/c-family/c-common.c 2020-11-04 19:26:59.974555602 +0100
@@ -2045,7 +2045,7 @@ verify_tree (tree x, struct tlist **pbef
/* 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;
Jakub
More information about the Gcc-patches
mailing list