summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-07-25 09:41:49 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-07-25 09:44:00 -0700
commit4e9e55fbf97bfda6426ea8698a55de9e7df94a66 (patch)
tree37f70f74b6c2bda780c9d738a7bfa61c1bed189f
parentfffc6149fd355c68c8ffb060c45f5ae5713869df (diff)
downloadtar-4e9e55fbf97bfda6426ea8698a55de9e7df94a66.tar.gz
Work around GCC bug 106436
* src/tar.c (optloc_eq): Use ‘assume’ to pacify GCC bug.
-rw-r--r--src/tar.c1
1 files changed, 1 insertions, 0 deletions
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)