Bug 5516

Summary: GCC warns on i^=j^=i^=j
Product: gcc Reporter: smartmouse714
Component: cAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gcc-bugs, nathan
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:
Attachments: main.i.gz

Description smartmouse714 2002-01-28 11:26:01 UTC
The symmetric bit operation is legal in ANSI C but GCC warns "undefined operation".

Release:
2.95.X & 3.0.X

Environment:
cygwin
Comment 1 Nathan Sidwell 2002-01-28 15:35:42 UTC
State-Changed-From-To: open->closed
State-Changed-Why: Not a bug, that is not legal, and invokes undefined effects.
    lookup sequence point in the standard
Comment 2 Andrew Pinski 2005-04-20 02:58:35 UTC
Reopening to ....
Comment 3 Andrew Pinski 2005-04-20 02:58:53 UTC
Mark as a dup of bug 11751.

*** This bug has been marked as a duplicate of 11751 ***