OSDN Git Service

* (expand_call): Fix bug (don't clobber bitpos).
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Mar 1993 17:38:41 +0000 (17:38 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Mar 1993 17:38:41 +0000 (17:38 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3775 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index 0b4e745..83ad592 100644 (file)
@@ -1588,7 +1588,7 @@ expand_call (exp, target, ignore)
                 bitpos += bitsize, bytes -= bitsize / BITS_PER_UNIT)
              {
                int xbitpos = (BYTES_BIG_ENDIAN
-                              ? bitpos = BITS_PER_WORD - bitpos - bitsize
+                              ? BITS_PER_WORD - bitpos - bitsize
                               : bitpos);
 
                store_bit_field (reg, bitsize, xbitpos, word_mode,