Re: GDB 9.1 release 2019-12-23 update

Eli Zaretskii
2019-12-24T15:52:53Z

> Date: Tue, 24 Dec 2019 12:23:54 +0000
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
>
> > > What about the compilation warning in record-btrace.c I reported in
> > > https://sourceware.org/ml/gdb-patches/2019-12/msg00706.html? Do we
> > > want to fix it?
> >
> > We can, but (IMO) not super critical. FWIW, I don't get the warning
> > when buidling on GNU/Linux.
>
> I can reproduce the warning on GNU/Linux, but it only crops up at some
> optimisation levels, -O0 doesn't warn for me, while -O1 and -O2 do.
> I've tested with GCC 8.3, 9.2, and a 10.??. This is all on a Fedora
> 27 system (yes, I really should update).

FTR, my GCC version is 8.3, and I did use -O2 optimizations.

Thanks.