3 ms·
> If my program contains UB, and the compiler produced a binary that does X, is that a compiler bug? UB is (usually) input dependent as well. So shouldn't this
by tromp 4y ago
> If my program contains UB, and the compiler produced a binary that does X, is that a compiler bug?
UB is (usually) input dependent as well. So shouldn't this be phrased as
> If the compiler produced a binary that on some input leads to UB and does X, is that a compiler bug?
- eatonphil 4y ago> usually I think this is their point. :)