Who's afraid of a big bad optimizing compiler?
Who's afraid of a big bad optimizing compiler?
Posted Jul 18, 2019 9:01 UTC (Thu) by mathstuf (subscriber, #69389)In reply to: Who's afraid of a big bad optimizing compiler? by dunlapg
Parent article: Who's afraid of a big bad optimizing compiler?
You're writing C for a C abstract machine. That machine has undefined behavior for signed integer overflow. Undefined behavior in C means "all bets are off". If this is not what you want, don't use C, convince compilers to provide a "sensible C" dialect, or change C via the standards committee.
Posted Jul 18, 2019 17:48 UTC (Thu)
by mpr22 (subscriber, #60784)
[Link]
Posted Jul 22, 2019 12:06 UTC (Mon)
by rweikusat2 (subscriber, #117920)
[Link]
Who's afraid of a big bad optimizing compiler?
Who's afraid of a big bad optimizing compiler?