Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Everything in C is undefined behavior. Parent comment
If you are using volatile you are reading from a device port mapped to that address.
Since C doesn't mandate in which order function arguments are evaluated, you don't know which argument will be read from port first.
How can that be anything but UB?
There are no comments on this comment yet.
If you are using volatile you are reading from a device port mapped to that address.
Since C doesn't mandate in which order function arguments are evaluated, you don't know which argument will be read from port first.
How can that be anything but UB?