top | item 36168385

(no title)

tyler569 | 2 years ago

And that ABI specific stack manipulation would be UB, so the optimizer can assume it doesn't happen. With no UB, that's not true.

discuss

order

Dylan16807|2 years ago

You assume a langue without UB would allow stack manipulation. But then it would have to be defined. How would you possibly define it fully?

remexre|2 years ago

There's an area of memory into which variables with automatic storage duration are allocated at implementation-defined addrs, at any point exactly those variables have addresses.