On 11/22/26 00:29, Thomas Koenig wrote:
Am 22.11.26 um 09:00 schrieb Steve Kargl:
Can you point to the text in the standard that supports this claim?
Again, I have not found anything that would allow such a rearrangement.
Can you point me towards something that does?
That's my point (and I could be wrong). The standard says nothing
about how a processor can transform a group of statements other
than 5.3.5. In 5.3.5, one finds that magic "as if".
A compiler can transform
tmp = a + b
tmp = tmp + c
tmp = tmp + d
as-if it was written as
tmp = a + b + c + d
In clause 1, one finds
This document does not specify
* the mechanism by which programs are transformed
for use on computing systems,
...
* the program and processor behavior when this document
fails to establish an interpretation except for the
processor detection and reporting requirements in items
(2) to (10) of 4.2,
--
steve