(sparc_frw_save_restore): Add parentheses to satify gcc.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 7 Jul 1993 22:06:00 +0000 (15:06 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 7 Jul 1993 22:06:00 +0000 (15:06 -0700)
From-SVN: r4879

gcc/config/sparc/sparc.c

index a93a63b01b92a855cb798aa01d6f04f16f0e6917..1c46f9870a941c354909150326a2767bf49f91e1 100644 (file)
@@ -3246,7 +3246,7 @@ sparc_frw_save_restore (file, word_op, doubleword_op)
          if ((mask & (1L << regno)) != 0
              || (regno == FRAME_POINTER_REGNUM && frame_pointer_needed))
            {
-             if ((regno & 0x1) == 0 && ((mask & (1L << regno+1)) != 0))
+             if ((regno & 0x1) == 0 && ((mask & (1L << (regno+1))) != 0))
                {
                  if (gp_offset % 8 != 0)
                    gp_offset += UNITS_PER_WORD;