[Top][All Lists]

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

Re: [Tinycc-devel] Annoying new warning

From: Vincent Lefevre
Subject: Re: [Tinycc-devel] Annoying new warning
Date: Fri, 5 May 2017 13:02:14 +0200
User-agent: Mutt/1.8.2-7019-vl-r97300 (2017-04-18)

On 2017-05-05 13:02:05 +0200, grischka wrote:
> Vincent Lefevre wrote:
> > But this can hide bugs, e.g. if in the future this function is called
> > by the ARM backend. It would be better either not to define this
> > function at all (best solution at it doesn't make sense on the ARM,
> > and issues would be detected at compile time) or have something like
> > an assert to abort if this function is called.
> Let tcc insert a library function that will abort peoples' programs
> to me clearly sounds like a second to best solution. ;)

It should never be called on ARM, thus should never abort peoples'
programs. That's still better than generating broken code, which
could have security implications.

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]