From owner-freebsd-current@freebsd.org Fri Apr 30 07:44:14 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 985E15F3769 for ; Fri, 30 Apr 2021 07:44:14 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FWksB3NWxz4S8g; Fri, 30 Apr 2021 07:44:14 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D4ABC2600F1; Fri, 30 Apr 2021 09:44:04 +0200 (CEST) Subject: Re: Undefined compiler behaviour or a compiler bug? To: Dimitry Andric Cc: FreeBSD Current , Konstantin Belousov References: <59f81323-74c5-e6a8-a62d-6abdf78902e8@selasky.org> <16b60c22-be04-cbbf-8fc4-a90c4031c529@selasky.org> <84FC71CC-FE92-4327-8536-0A04416432C2@FreeBSD.org> From: Hans Petter Selasky Message-ID: <00c18d2a-9194-4223-9620-edbea8a468c8@selasky.org> Date: Fri, 30 Apr 2021 09:42:50 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <84FC71CC-FE92-4327-8536-0A04416432C2@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FWksB3NWxz4S8g X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2021 07:44:14 -0000 On 4/30/21 12:13 AM, Dimitry Andric wrote: > % clang -fsanitize=undefined test.c -o test Thank you! Didn't know about that flag. --HPS