[Top][All Lists]

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

Re: [Tinycc-devel] undefined sanitizer

From: Vincent Lefevre
Subject: Re: [Tinycc-devel] undefined sanitizer
Date: Sat, 22 Jun 2019 12:47:03 +0200
User-agent: Mutt/1.12.1+22 (05d31caa) vl-117499 (2019-06-21)

On 2019-06-22 00:43:48 +0200, Michael Matz wrote:
> Hi,
> On Tue, 18 Jun 2019, Mike wrote:
> > I keep having fun.
> > In attach compile report under -fsanitize=undefined in gcc or clang.
> > Take care.
> I don't think we should care about alignment of 4 (when 8 would be needed).
> The 64bit platforms we support all handle misaligned memory accesses quite
> fine, and doing it "correctly" just wastes space.

Even if there are no issues with the processor, undefined behavior
may yield the generation of bad code due to optimizations.

Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

reply via email to

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