|
|
|
|
|
by tomnj
2324 days ago
|
|
At least in the case of overflow, the article mentions a few arguments: “””
This direction was motivated by: Performance concerns, whereby defining the behavior prevents optimizers from assuming that overflow never occurs;
Implementation leeway for tools such as sanitizers;
Data from Google suggesting that over 90% of all overflow is a bug, and defining wrapping behavior would not have solved the bug.
“”” |
|