[Top][All Lists]

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

Re: __builtin_assume warnings

From: Mattias Engdegård
Subject: Re: __builtin_assume warnings
Date: Tue, 18 Aug 2020 09:11:26 +0200

18 aug. 2020 kl. 00.11 skrev Paul Eggert <eggert@cs.ucla.edu>:

> 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.

Thank you, but aren't we throwing the baby out with the bathwater? Wouldn't 
-Wno-assume, either locally (clang pragmas around __builtin_assume) or globally 
(configure?) be more effective?

reply via email to

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