From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11879 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: open issues Date: Wed, 30 Aug 2017 22:37:44 +0300 (MSK) Message-ID: References: <20170827043606.GQ15263@port70.net> <20170830020652.GD1627@brightrain.aerifal.cx> <1AC2E125-EED7-4EA1-AC9F-B08BA7BD494D@trust-in-soft.com> <20170830192038.GE1627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1504121891 21915 195.159.176.226 (30 Aug 2017 19:38:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 19:38:11 +0000 (UTC) User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) To: musl@lists.openwall.com Original-X-From: musl-return-11892-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 30 21:38:07 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dn8oB-0004j4-Gf for gllmg-musl@m.gmane.org; Wed, 30 Aug 2017 21:37:51 +0200 Original-Received: (qmail 1581 invoked by uid 550); 30 Aug 2017 19:37:56 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1560 invoked from network); 30 Aug 2017 19:37:55 -0000 In-Reply-To: <20170830192038.GE1627@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:11879 Archived-At: On Wed, 30 Aug 2017, Rich Felker wrote: > Great find. I wonder if compiler/diagnostic tool ppl are aware of this > extension to the C language that XSI imposes. It definitely affects > things like UBSan, and of course compilers' optimization based on > assumptions that UB doesn't happen. If musl is going to use this throughout the implementation, I think it should be documented somewhere: it's of course fair game to use this guarantee in implementation of interfaces that are themselves XSI-shaded, but using it to implement more basic interfaces is less obviously so. Alexander