This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hans-Peter Nilsson wrote:It's no stranger than "func (a++, a++)" being undefined.
That's undefined. This isn't undefined:
static inline void increment (int * ptr) { *ptr++; return 0; } func (increment (&a), increment (&a));
No, it is just as undefined. The compiler is free to call either the "left" or the "right" increment() first.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |