From: Paul Eggert Date: Mon, 25 Jul 2022 16:41:49 +0000 (-0700) Subject: Work around GCC bug 106436 X-Git-Tag: v1.35~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e9e55fbf97bfda6426ea8698a55de9e7df94a66;p=thirdparty%2Ftar.git Work around GCC bug 106436 * src/tar.c (optloc_eq): Use ‘assume’ to pacify GCC bug. --- 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)