Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2021 09:42:50 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Konstantin Belousov <kib@FreeBSD.org>
Subject:   Re: Undefined compiler behaviour or a compiler bug?
Message-ID:  <00c18d2a-9194-4223-9620-edbea8a468c8@selasky.org>
In-Reply-To: <84FC71CC-FE92-4327-8536-0A04416432C2@FreeBSD.org>
References:  <59f81323-74c5-e6a8-a62d-6abdf78902e8@selasky.org> <16b60c22-be04-cbbf-8fc4-a90c4031c529@selasky.org> <84FC71CC-FE92-4327-8536-0A04416432C2@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c18d2a-9194-4223-9620-edbea8a468c8>