------- Comment #12 from falk at debian dot org 2006-04-18 12:37 ------- (In reply to comment #11) > No, this testcase is unspecified, not undefined. There are intervening > sequence points at the start and end of each call to function
OK. > However, the evaluation of the > arguments to printf may overlap and the order is unspecified, so there are > many possible outputs from the program (but "3 2 1" and "3 1 1", for > example, are not possible). I don't understand why is "3 2 1" is not possible. How about "1 1 1"? Is this a bug in gcc after all? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27153