|
|
|
|
|
by foltik
166 days ago
|
|
As if treating uninitialized reads as opaque somehow precludes all optimizations? There’s a million more sensible things that the compiler could do here besides the hilariously bad codegen you see in the grandparent and sibling comments. All I’ve heard amounts to “but it’s allowed by the spec.” I’m not arguing against that. I’m saying a spec that incentivizes this nonsense is poorly designed. |
|