Re: undefined-behavior obstack.c:139

2023-12-18 Thread Bruno Haible
Paul Eggert wrote: > The bad citizen here is clang, not Gnulib or Coreutils. Or maybe it's > the C standard; it doesn't matter. Clang needn't (and doesn't) complain > about every violation of the C standard, and it should not be > complaining about this one. I would be willing to 1) open a bu

Re: [PATCH] getopt: pacify gcc -Wanalyzer-null-dereference

2023-12-18 Thread Bruno Haible
Paul Eggert wrote: > * lib/getopt.c (process_long_option): Simplify logic slightly. > This pacifies gcc -flto -Wanalyzer-null-dereference when compiling > GNU tar on x86-64 with gcc 13.2.1 20231205 (Red Hat 13.2.1-6). This appears to trade a false alarm for another false alarm. Namely, now Coverit