|
|
|
|
|
by foltik
169 days ago
|
|
Yes yes, the spec says compilers are free to do whatever they want. That doesn’t mean they should. > The user didn’t initialize this integer. Let’s assume it’s always 4 since that helps us optimize this division over here into a shift… This is convenient for who exactly? Why not just treat it as a black box memory load and not do further “optimizations”? |
|
Nobody’s stopping you from using non-optimising compilers, regardless of the strawmen you assert.