Sujet : Re: Computer architects leaving Intel...
De : bl1-thispartdoesnotbelonghere (at) *nospam* gmx.com (Bernd Linsel)
Groupes : comp.archDate : 03. Sep 2024, 18:19:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb7gf3$3dm1b$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
User-Agent : Betterbird (Linux)
On 03.09.24 10:10, David Brown wrote:
snip 8< - - - - - - - -
(There are a few situations where UB in C could be diagnosed at
compile-time, which are probably historical decisions to avoid imposing
too much work on early compilers. Where possible, UB that can be caught
at compile time, could usefully be turned into constrain violations that
must be diagnosed.)
And exactly these are the situations that I'd like to be warned from,
rather than the compiler making up something without telling.
-- Bernd Linsel