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

suan at cs dot wisc dot edu gcc-bugzilla@gcc.gnu.org
Thu Apr 21 02:34:00 GMT 2005


------- 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 contains a subexpression (B,C) which is
itself an expression.  If the expression (B,C) does not contain conflicts,
should not its behavior be well-defined?  Should not the A-B/A-C conflict in the
outer expression mean only that the outer expression's behavior be undefined,
and not affect the well-defined-ness of the inner expression?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6409



More information about the Gcc-bugs mailing list