[Bug c/6409] C comma operator: wrong behavior

2005-04-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-20 02:59 --- Reopening to -- What|Removed |Added Status|RESOLVED|REO

[Bug c/6409] C comma operator: wrong behavior

2005-04-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-20 02:59 --- Mark as a dup of bug 11751. *** This bug has been marked as a duplicate of 11751 *** -- What|Removed |Added -

[Bug c/6409] C comma operator: wrong behavior

2005-04-20 Thread suan at cs dot wisc dot edu
--- Additional Comments From suan at cs dot wisc dot edu 2005-04-21 02:34 --- Hmm... now that I've been reminded of this bug, I might as well try to revive it. I think my question has more to do with the granularity of well-defined-ness. Consider the expression A + (B,C), which contain

[Bug c/6409] C comma operator: wrong behavior

2005-04-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-21 04:58 --- (a,b) where a and b change is the only thing where it is defined. c + (a,b) where c and b change the same variable is undefined. Likewise for c and a. *** This bug has been marked as a duplicate of 11751 **