home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update29.zoo / gcc / diffs
Encoding:
Text File  |  1993-03-28  |  6.4 KB  |  176 lines

  1. RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/PatchLev.h,v
  2. retrieving revision 1.12
  3. diff -c -r1.12 PatchLev.h
  4. *** 1.12    1993/01/12 00:47:04
  5. --- PatchLev.h    1993/03/18 19:26:45
  6. ***************
  7. *** 1,4 ****
  8. ! #define PatchLevel "2"
  9.   
  10.   /*
  11.    *    the Patch Level above is to identify the version
  12. --- 1,4 ----
  13. ! #define PatchLevel "3"
  14.   
  15.   /*
  16.    *    the Patch Level above is to identify the version
  17. ===================================================================
  18. RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/c-decl.c,v
  19. retrieving revision 1.14
  20. diff -c -r1.14 c-decl.c
  21. *** 1.14    1992/12/28 05:27:25
  22. --- c-decl.c    1993/03/18 19:26:49
  23. ***************
  24. *** 5885,5899 ****
  25.   
  26.     expand_function_start (fndecl, 0);
  27.   
  28. - #if (!(defined(atarist) || defined(CROSSATARI) || defined(atariminix)))
  29. -   /* we will only need this in cp-decl.c, not here */
  30.     /* If this function is `main', emit a call to `__main'
  31.        to run global initializers, etc.  */
  32.     if (DECL_NAME (fndecl)
  33.         && strcmp (IDENTIFIER_POINTER (DECL_NAME (fndecl)), "main") == 0
  34.         && DECL_CONTEXT (fndecl) == NULL_TREE)
  35.       expand_main_function ();
  36. - #endif
  37.   }
  38.   
  39.   /* SPECPARMS is an identifier list--a chain of TREE_LIST nodes
  40. --- 5885,5896 ----
  41. ===================================================================
  42. RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/expr.c,v
  43. retrieving revision 1.10
  44. diff -c -r1.10 expr.c
  45. *** 1.10    1992/12/28 05:27:39
  46. --- expr.c    1993/03/18 19:26:55
  47. ***************
  48. *** 6140,6146 ****
  49.   
  50.     /* Stabilize any component ref that might need to be
  51.        evaluated more than once below.  */
  52. !   if (TREE_CODE (incremented) == BIT_FIELD_REF
  53.         || (TREE_CODE (incremented) == COMPONENT_REF
  54.         && (TREE_CODE (TREE_OPERAND (incremented, 0)) != INDIRECT_REF
  55.             || DECL_BIT_FIELD (TREE_OPERAND (incremented, 1)))))
  56. --- 6140,6147 ----
  57.   
  58.     /* Stabilize any component ref that might need to be
  59.        evaluated more than once below.  */
  60. !   if (!post
  61. !       || TREE_CODE (incremented) == BIT_FIELD_REF
  62.         || (TREE_CODE (incremented) == COMPONENT_REF
  63.         && (TREE_CODE (TREE_OPERAND (incremented, 0)) != INDIRECT_REF
  64.             || DECL_BIT_FIELD (TREE_OPERAND (incremented, 1)))))
  65. ***************
  66. *** 6175,6188 ****
  67.       this_optab = sub_optab;
  68.   
  69.     /* If OP0 is not the actual lvalue, but rather a copy in a register,
  70. !      then we cannot just increment OP0.  We must
  71. !      therefore contrive to increment the original value.
  72. !      Then we can return OP0 since it is a copy of the old value.  */
  73. !   if (op0_is_copy)
  74.       {
  75.         /* This is the easiest way to increment the value wherever it is.
  76. !      Problems with multiple evaluation of INCREMENTED
  77. !      are prevented because either (1) it is a component_ref,
  78.        in which case it was stabilized above, or (2) it is an array_ref
  79.        with constant index in an array in a register, which is
  80.        safe to reevaluate.  */
  81. --- 6176,6190 ----
  82.       this_optab = sub_optab;
  83.   
  84.     /* If OP0 is not the actual lvalue, but rather a copy in a register,
  85. !      then we cannot just increment OP0.  We must therefore contrive to
  86. !      increment the original value.  Then, for postincrement, we can return
  87. !      OP0 since it is a copy of the old value.  For preincrement, we want
  88. !      to always expand here, since this generates better or equivalent code.  */
  89. !   if (!post || op0_is_copy)
  90.       {
  91.         /* This is the easiest way to increment the value wherever it is.
  92. !      Problems with multiple evaluation of INCREMENTED are prevented
  93. !      because either (1) it is a component_ref or preincrement,
  94.        in which case it was stabilized above, or (2) it is an array_ref
  95.        with constant index in an array in a register, which is
  96.        safe to reevaluate.  */
  97. ===================================================================
  98. RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/config/m68k.md,v
  99. retrieving revision 1.10
  100. diff -c -r1.10 m68k.md
  101. *** 1.10    1992/12/28 05:28:35
  102. --- m68k.md    1993/03/18 19:38:07
  103. ***************
  104. *** 923,929 ****
  105.         && GET_CODE (XEXP (operands[0], 0)) == PRE_DEC
  106.         && XEXP (XEXP (operands[0], 0), 0) == stack_pointer_rtx)
  107.       {
  108. !       xoperands[1] = operands[1];
  109.         xoperands[2]
  110.           = gen_rtx (MEM, QImode,
  111.              gen_rtx (PLUS, VOIDmode, stack_pointer_rtx, const1_rtx));
  112. --- 923,937 ----
  113.         && GET_CODE (XEXP (operands[0], 0)) == PRE_DEC
  114.         && XEXP (XEXP (operands[0], 0), 0) == stack_pointer_rtx)
  115.       {
  116. !       if (GET_CODE (operands[1]) == MEM
  117. !       && (XEXP (operands[1], 0) == stack_pointer_rtx
  118. !           || (GET_CODE (XEXP (operands[1], 0)) == PLUS
  119. !           && XEXP (XEXP (operands[1], 0), 0) == stack_pointer_rtx)))
  120. !     xoperands[1]
  121. !       = gen_rtx (MEM, GET_MODE (operands[1]),
  122. !              plus_constant (XEXP (operands[1], 0), 2));
  123. !       else
  124. !     xoperands[1] = operands[1];
  125.         xoperands[2]
  126.           = gen_rtx (MEM, QImode,
  127.              gen_rtx (PLUS, VOIDmode, stack_pointer_rtx, const1_rtx));
  128. ***************
  129. *** 936,942 ****
  130.   
  131.     if (ADDRESS_REG_P (operands[0]) && GET_CODE (operands[1]) == MEM)
  132.       {
  133. !       xoperands[1] = operands[1];
  134.         xoperands[2]
  135.           = gen_rtx (MEM, QImode,
  136.              gen_rtx (PLUS, VOIDmode, stack_pointer_rtx, const1_rtx));
  137. --- 944,957 ----
  138.   
  139.     if (ADDRESS_REG_P (operands[0]) && GET_CODE (operands[1]) == MEM)
  140.       {
  141. !       if (XEXP (operands[1], 0) == stack_pointer_rtx
  142. !       || (GET_CODE (XEXP (operands[1], 0)) == PLUS
  143. !           && XEXP (XEXP (operands[1], 0), 0) == stack_pointer_rtx))
  144. !     xoperands[1]
  145. !       = gen_rtx (MEM, GET_MODE (operands[1]),
  146. !              plus_constant (XEXP (operands[1], 0), 2));
  147. !       else
  148. !     xoperands[1] = operands[1];
  149.         xoperands[2]
  150.           = gen_rtx (MEM, QImode,
  151.              gen_rtx (PLUS, VOIDmode, stack_pointer_rtx, const1_rtx));
  152. ***************
  153. *** 948,954 ****
  154.       }
  155.     if (ADDRESS_REG_P (operands[1]) && GET_CODE (operands[0]) == MEM)
  156.       {
  157. !       xoperands[0] = operands[0];
  158.         xoperands[1] = operands[1];
  159.         xoperands[2]
  160.           = gen_rtx (MEM, QImode,
  161. --- 963,976 ----
  162.       }
  163.     if (ADDRESS_REG_P (operands[1]) && GET_CODE (operands[0]) == MEM)
  164.       {
  165. !       if (XEXP (operands[0], 0) == stack_pointer_rtx
  166. !       || (GET_CODE (XEXP (operands[0], 0)) == PLUS
  167. !           && XEXP (XEXP (operands[0], 0), 0) == stack_pointer_rtx))
  168. !     xoperands[0]
  169. !       = gen_rtx (MEM, GET_MODE (operands[0]),
  170. !              plus_constant (XEXP (operands[0], 0), 2));
  171. !       else
  172. !     xoperands[0] = operands[0];
  173.         xoperands[1] = operands[1];
  174.         xoperands[2]
  175.           = gen_rtx (MEM, QImode,
  176.