]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-common: Remove DEBUG_FUNCTION from verify_sequence_points
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Nov 2020 08:52:59 +0000 (09:52 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 6 Nov 2020 08:52:59 +0000 (09:52 +0100)
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  <jakub@redhat.com>

* c-common.c (verify_sequence_points): Remove DEBUG_FUNCTION.

gcc/c-family/c-common.c

index d56238aeb019d9cb301e7aaff455d28ed52c17f6..232a4797c093216d64cdd1c51a92cc0aaceb2198 100644 (file)
@@ -2045,7 +2045,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;