[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/10] Bitmaps patches
From: |
Peter Maydell |
Subject: |
Re: [PULL 00/10] Bitmaps patches |
Date: |
Tue, 17 Mar 2020 15:07:34 +0000 |
On Tue, 17 Mar 2020 at 15:05, Daniel P. Berrangé <address@hidden> wrote:
>
> On Tue, Mar 17, 2020 at 03:00:48PM +0000, Peter Maydell wrote:
> > On Tue, 17 Mar 2020 at 14:57, Daniel P. Berrangé <address@hidden> wrote:
> > > I don't feel like -Wno-unused-function looses anything significant, as
> > > the GCC builds will still be reporting unused functions which will
> > > catch majority of cases.
> >
> > The most interesting difference is that clang will catch unused
> > static inline functions which gcc does not.
>
> That's mostly just about dead code cruft detection IIUC. That code won't
> make it into the binary if it isn't used.
Indeed, but it's nice to have the dead code cruft detection. You
can always mark the function as __attribute__((unused)) if you really
mean that it might be present but not used.
thanks
-- PMM
- [PULL 06/10] block/dirty-bitmap: add _next_dirty API, (continued)
- [PULL 06/10] block/dirty-bitmap: add _next_dirty API, John Snow, 2020/03/17
- [PULL 07/10] block/dirty-bitmap: improve _next_dirty_area API, John Snow, 2020/03/17
- [PULL 08/10] nbd/server: introduce NBDExtentArray, John Snow, 2020/03/17
- [PULL 09/10] nbd/server: use bdrv_dirty_bitmap_next_dirty_area, John Snow, 2020/03/17
- [PULL 10/10] block/qcow2-bitmap: use bdrv_dirty_bitmap_next_dirty, John Snow, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches, Peter Maydell, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches, Eric Blake, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches, Daniel P . Berrangé, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches, Peter Maydell, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches, Daniel P . Berrangé, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches,
Peter Maydell <=
- Re: [PULL 00/10] Bitmaps patches, Daniel P . Berrangé, 2020/03/17
- Re: [PULL 00/10] Bitmaps patches, Eric Blake, 2020/03/17
Re: [PULL 00/10] Bitmaps patches, Eric Blake, 2020/03/18