Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
deng
on Oct 24, 2015
|
parent
|
context
|
favorite
| on:
“gcc will quietly break nearly half of all the pac...
That will catch a
tiny
part of undefined behavior.
MichaelGG
on Oct 24, 2015
[–]
Why doesn't the compiler emit a warning for all UB it finds while compiling? Or do regular programs rely on this too much to be feasible? It must be something like that, or there'd not be much performance gains to be had by exploiting UB right?
lmm
on Oct 24, 2015
|
parent
|
next
[–]
Any time you add two (signed) integers, that's potentially undefined behaviour.
DanWaterworth
on Oct 24, 2015
|
parent
|
prev
[–]
It's not necessarily detectable statically.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: