[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __builtin_assume warnings

From: Paul Eggert
Subject: Re: __builtin_assume warnings
Date: Mon, 17 Aug 2020 15:11:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/17/20 7:05 AM, Mattias Engdegård wrote:
  Looks like Clang does not yet look inside inline functions for -Wassume.

I guess that for that diagnostic, Clang assumes that every function call has a side effect, which is pretty silly. I worked around the bug (and by an another bogus-warning bug I ran into on Fedora 31's Clang 9.0.1) by installing the attached.

Attachment: 0001-Update-from-Gnulib.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]