From 4e9e55fbf97bfda6426ea8698a55de9e7df94a66 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 25 Jul 2022 09:41:49 -0700 Subject: Work around GCC bug 106436 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * src/tar.c (optloc_eq): Use ‘assume’ to pacify GCC bug. --- src/tar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tar.c b/src/tar.c index d4898468..002519bc 100644 --- a/src/tar.c +++ b/src/tar.c @@ -959,6 +959,7 @@ option_set_in_cl (int id) static int optloc_eq (struct option_locus *a, struct option_locus *b) { + assume (a); /* Pacify GCC bug 106436. */ if (a->source != b->source) return 0; if (a->source == OPTS_COMMAND_LINE) -- cgit v1.2.1