Changeset 709
- Timestamp:
- 10/08/10 16:36:54 (3 years ago)
- Files:
-
- trunk/src/opover.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/opover.c
r630 r709 683 683 #if DMDV2 684 684 // Try alias this on first operand 685 if (ad1 && ad1->aliasthis) 685 if (ad1 && ad1->aliasthis && 686 !(op == TOKassign && ad2 && ad1 == ad2)) // See Bugzilla 2943 686 687 { 687 688 /* Rewrite (e1 op e2) as: … … 696 697 697 698 // Try alias this on second operand 698 if (ad2 && ad2->aliasthis) 699 if (ad2 && ad2->aliasthis && 700 /* Bugzilla 2943: make sure that when we're copying the struct, we don't 701 * just copy the alias this member 702 */ 703 !(op == TOKassign && ad1 && ad1 == ad2)) 699 704 { 700 705 /* Rewrite (e1 op e2) as:
