OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agoTue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
amylaar [Tue, 2 Jul 2002 18:45:49 +0000 (18:45 +0000)]
Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>

* sh.c (print_operand, case 'N'): Allow zero vector.
(arith_reg_or_0_operand): Likewise.
(zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
* sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
IOR, XOR, PLUS and SET and take their respective constant
ranges into account.
(PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
* sh.md (subdi3, subdi3_media): Allow zero operand.
(movv8qi_i+3): Only vector that is not split is the zero vector.
Fix operand 3 to simplify_subreg.
(movv2si_i): Split alternative 1.
(mshfhi_l_di_rev+1): New splitter.

Index: config/sh/sh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.c,v
retrieving revision 1.155
diff -p -r1.155 sh.c
*** config/sh/sh.c 2 Jul 2002 04:01:04 -0000 1.155
--- config/sh/sh.c 2 Jul 2002 17:45:37 -0000
*************** print_operand (stream, x, code)
*** 434,440 ****
        break;

      case 'N':
!       if (x == const0_rtx)
   {
     fprintf ((stream), "r63");
     break;
--- 434,441 ----
        break;

      case 'N':
!       if (x == const0_rtx
!    || (GET_CODE (x) == CONST_VECTOR && zero_vec_operand (x, VOIDmode)))
   {
     fprintf ((stream), "r63");
     break;
*************** arith_reg_or_0_operand (op, mode)
*** 5940,5946 ****
    if (arith_reg_operand (op, mode))
      return 1;

!   if (GET_CODE (op) == CONST_INT && CONST_OK_FOR_N (INTVAL (op)))
      return 1;

    return 0;
--- 5941,5947 ----
    if (arith_reg_operand (op, mode))
      return 1;

!   if (EXTRA_CONSTRAINT_U (op))
      return 1;

    return 0;
*************** zero_vec_operand (v, mode)
*** 6222,6228 ****
  {
    int i;

!   if (GET_CODE (v) != PARALLEL
        || (GET_MODE (v) != mode && mode != VOIDmode))
      return 0;
    for (i = XVECLEN (v, 0) - 1; i >= 0; i--)
--- 6223,6229 ----
  {
    int i;

!   if (GET_CODE (v) != CONST_VECTOR
        || (GET_MODE (v) != mode && mode != VOIDmode))
      return 0;
    for (i = XVECLEN (v, 0) - 1; i >= 0; i--)
Index: config/sh/sh.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.h,v
retrieving revision 1.154
diff -p -r1.154 sh.h
*** config/sh/sh.h 1 Jul 2002 19:41:53 -0000 1.154
--- config/sh/sh.h 2 Jul 2002 17:45:37 -0000
*************** while (0)
*** 2689,2698 ****
    case CONST_INT: \
      if (TARGET_SHMEDIA) \
        { \
   if ((OUTER_CODE) == AND && and_operand ((RTX), DImode)) \
     return 0; \
   if (CONST_OK_FOR_J (INTVAL (RTX))) \
!           return COSTS_N_INSNS (1); \
   else if (CONST_OK_FOR_J (INTVAL (RTX) >> 16)) \
     return COSTS_N_INSNS (2); \
   else if (CONST_OK_FOR_J ((INTVAL (RTX) >> 16) >> 16)) \
--- 2689,2704 ----
    case CONST_INT: \
      if (TARGET_SHMEDIA) \
        { \
+  if (INTVAL (RTX) == 0) \
+    return 0; \
   if ((OUTER_CODE) == AND && and_operand ((RTX), DImode)) \
     return 0; \
+  if (((OUTER_CODE) == IOR || (OUTER_CODE) == XOR \
+       || (OUTER_CODE) == PLUS) \
+      && CONST_OK_FOR_P (INTVAL (RTX))) \
+    return 0; \
   if (CONST_OK_FOR_J (INTVAL (RTX))) \
!           return COSTS_N_INSNS ((OUTER_CODE) != SET); \
   else if (CONST_OK_FOR_J (INTVAL (RTX) >> 16)) \
     return COSTS_N_INSNS (2); \
   else if (CONST_OK_FOR_J ((INTVAL (RTX) >> 16) >> 16)) \
*************** extern int rtx_equal_function_value_matt
*** 3225,3231 ****
    {"arith_operand", {SUBREG, REG, CONST_INT}}, \
    {"arith_reg_dest", {SUBREG, REG}}, \
    {"arith_reg_operand", {SUBREG, REG}}, \
!   {"arith_reg_or_0_operand", {SUBREG, REG, CONST_INT}}, \
    {"binary_float_operator", {PLUS, MULT}}, \
    {"commutative_float_operator", {PLUS, MULT}}, \
    {"extend_reg_operand", {SUBREG, REG, TRUNCATE}}, \
--- 3231,3237 ----
    {"arith_operand", {SUBREG, REG, CONST_INT}}, \
    {"arith_reg_dest", {SUBREG, REG}}, \
    {"arith_reg_operand", {SUBREG, REG}}, \
!   {"arith_reg_or_0_operand", {SUBREG, REG, CONST_INT, CONST_VECTOR}}, \
    {"binary_float_operator", {PLUS, MULT}}, \
    {"commutative_float_operator", {PLUS, MULT}}, \
    {"extend_reg_operand", {SUBREG, REG, TRUNCATE}}, \
Index: config/sh/sh.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.md,v
retrieving revision 1.107
diff -p -r1.107 sh.md
*** config/sh/sh.md 1 Jul 2002 19:41:54 -0000 1.107
--- config/sh/sh.md 2 Jul 2002 17:45:38 -0000
***************
*** 546,552 ****
  ;; There is no way to model this with gcc's function units.  This problem is
  ;; actually mentioned in md.texi.  Tackling this problem requires first that
  ;; it is possible to speak about the target in an open discussion.
! ;;
  ;; However, simple double-precision operations always conflict.

  (define_function_unit "fp"    1 0
--- 546,552 ----
  ;; There is no way to model this with gcc's function units.  This problem is
  ;; actually mentioned in md.texi.  Tackling this problem requires first that
  ;; it is possible to speak about the target in an open discussion.
! ;;
  ;; However, simple double-precision operations always conflict.

  (define_function_unit "fp"    1 0
***************
*** 1048,1054 ****
    "@
   addz.l %1, %2, %0
   addz.l %1, r63, %0")
!
  (define_insn "adddi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (plus:DI (match_operand:DI 1 "arith_reg_operand" "%0")
--- 1048,1054 ----
    "@
   addz.l %1, %2, %0
   addz.l %1, r63, %0")
!
  (define_insn "adddi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (plus:DI (match_operand:DI 1 "arith_reg_operand" "%0")
***************
*** 1122,1128 ****
    "@
   add.l %1, %2, %0
   addi.l %1, %2, %0")
!
  (define_insn "*addsi3_compact"
    [(set (match_operand:SI 0 "arith_reg_operand" "=r")
   (plus:SI (match_operand:SI 1 "arith_operand" "%0")
--- 1122,1128 ----
    "@
   add.l %1, %2, %0
   addi.l %1, %2, %0")
!
  (define_insn "*addsi3_compact"
    [(set (match_operand:SI 0 "arith_reg_operand" "=r")
   (plus:SI (match_operand:SI 1 "arith_operand" "%0")
***************
*** 1138,1162 ****

  (define_expand "subdi3"
    [(set (match_operand:DI 0 "arith_reg_operand" "")
!  (minus:DI (match_operand:DI 1 "arith_reg_operand" "")
     (match_operand:DI 2 "arith_reg_operand" "")))]
    ""
    "
  {
    if (TARGET_SH1)
      {
        emit_insn (gen_subdi3_compact (operands[0], operands[1], operands[2]));
        DONE;
      }
  }")
!
  (define_insn "*subdi3_media"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
!  (minus:DI (match_operand:DI 1 "arith_reg_operand" "r")
     (match_operand:DI 2 "arith_reg_operand" "r")))]
    "TARGET_SHMEDIA"
!   "sub %1, %2, %0")
!
  (define_insn "subdi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (minus:DI (match_operand:DI 1 "arith_reg_operand" "0")
--- 1138,1163 ----

  (define_expand "subdi3"
    [(set (match_operand:DI 0 "arith_reg_operand" "")
!  (minus:DI (match_operand:DI 1 "arith_reg_or_0_operand" "")
     (match_operand:DI 2 "arith_reg_operand" "")))]
    ""
    "
  {
    if (TARGET_SH1)
      {
+       operands[1] = force_reg (DImode, operands[1]);
        emit_insn (gen_subdi3_compact (operands[0], operands[1], operands[2]));
        DONE;
      }
  }")
!
  (define_insn "*subdi3_media"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
!  (minus:DI (match_operand:DI 1 "arith_reg_or_0_operand" "rN")
     (match_operand:DI 2 "arith_reg_operand" "r")))]
    "TARGET_SHMEDIA"
!   "sub %N1, %2, %0")
!
  (define_insn "subdi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (minus:DI (match_operand:DI 1 "arith_reg_operand" "0")
***************
*** 1558,1564 ****
      : \"__sdivsi3\")));

        if (TARGET_SHMEDIA)
!  last = gen_divsi3_i1_media (operands[0],
       Pmode == DImode
       ? operands[3]
       : gen_rtx_SUBREG (DImode, operands[3],
--- 1559,1565 ----
      : \"__sdivsi3\")));

        if (TARGET_SHMEDIA)
!  last = gen_divsi3_i1_media (operands[0],
       Pmode == DImode
       ? operands[3]
       : gen_rtx_SUBREG (DImode, operands[3],
***************
*** 1771,1777 ****
    (sign_extend:DI (match_operand:SI 2 "arith_reg_operand" "r"))))]
    "TARGET_SHMEDIA"
    "muls.l %1, %2, %0")
!
  (define_insn "mulsidi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (mult:DI
--- 1772,1778 ----
    (sign_extend:DI (match_operand:SI 2 "arith_reg_operand" "r"))))]
    "TARGET_SHMEDIA"
    "muls.l %1, %2, %0")
!
  (define_insn "mulsidi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (mult:DI
***************
*** 1841,1847 ****
    (zero_extend:DI (match_operand:SI 2 "arith_reg_operand" "r"))))]
    "TARGET_SHMEDIA"
    "mulu.l %1, %2, %0")
!
  (define_insn "umulsidi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (mult:DI
--- 1842,1848 ----
    (zero_extend:DI (match_operand:SI 2 "arith_reg_operand" "r"))))]
    "TARGET_SHMEDIA"
    "mulu.l %1, %2, %0")
!
  (define_insn "umulsidi3_compact"
    [(set (match_operand:DI 0 "arith_reg_operand" "=r")
   (mult:DI
***************
*** 3440,3446 ****
     (set_attr "type" "pcload,move,load,store,move,pcload,move,move")])

  ;; If the output is a register and the input is memory or a register, we have
! ;; to be careful and see which word needs to be loaded first.

  (define_split
    [(set (match_operand:DI 0 "general_movdst_operand" "")
--- 3441,3447 ----
     (set_attr "type" "pcload,move,load,store,move,pcload,move,move")])

  ;; If the output is a register and the input is memory or a register, we have
! ;; to be careful and see which word needs to be loaded first.

  (define_split
    [(set (match_operand:DI 0 "general_movdst_operand" "")
***************
*** 4195,4201 ****
  }")

  ;; If the output is a register and the input is memory or a register, we have
! ;; to be careful and see which word needs to be loaded first.

  (define_split
    [(set (match_operand:DF 0 "general_movdst_operand" "")
--- 4196,4202 ----
  }")

  ;; If the output is a register and the input is memory or a register, we have
! ;; to be careful and see which word needs to be loaded first.

  (define_split
    [(set (match_operand:DF 0 "general_movdst_operand" "")
***************
*** 4392,4398 ****
    DONE;
  }"
    [(set_attr "length" "8")])
!
  (define_expand "movv4sf"
    [(set (match_operand:V4SF 0 "nonimmediate_operand" "=f,f,m")
   (match_operand:V4SF 1 "nonimmediate_operand" "f,m,f"))]
--- 4393,4399 ----
    DONE;
  }"
    [(set_attr "length" "8")])
!
  (define_expand "movv4sf"
    [(set (match_operand:V4SF 0 "nonimmediate_operand" "=f,f,m")
   (match_operand:V4SF 1 "nonimmediate_operand" "f,m,f"))]
***************
*** 4444,4450 ****
    DONE;
  }"
    [(set_attr "length" "32")])
!
  (define_expand "movv16sf"
    [(set (match_operand:V16SF 0 "nonimmediate_operand" "=f,f,m")
   (match_operand:V16SF 1 "nonimmediate_operand" "f,m,f"))]
--- 4445,4451 ----
    DONE;
  }"
    [(set_attr "length" "32")])
!
  (define_expand "movv16sf"
    [(set (match_operand:V16SF 0 "nonimmediate_operand" "=f,f,m")
   (match_operand:V16SF 1 "nonimmediate_operand" "f,m,f"))]
***************
*** 4499,4505 ****
    REAL_VALUE_FROM_CONST_DOUBLE (value, operands[1]);
    REAL_VALUE_TO_TARGET_SINGLE (value, values);
    operands[2] = GEN_INT (values);
!
    operands[3] = gen_rtx_REG (DImode, true_regnum (operands[0]));
  }")

--- 4500,4506 ----
    REAL_VALUE_FROM_CONST_DOUBLE (value, operands[1]);
    REAL_VALUE_TO_TARGET_SINGLE (value, values);
    operands[2] = GEN_INT (values);
!
    operands[3] = gen_rtx_REG (DImode, true_regnum (operands[0]));
  }")

***************
*** 5410,5416 ****
     if (! SYMBOL_REF_FLAG (operands[0]))
       {
         rtx reg = gen_reg_rtx (Pmode);
!
         emit_insn (gen_symGOTPLT2reg (reg, operands[0]));
         operands[0] = reg;
       }
--- 5411,5417 ----
     if (! SYMBOL_REF_FLAG (operands[0]))
       {
         rtx reg = gen_reg_rtx (Pmode);
!
         emit_insn (gen_symGOTPLT2reg (reg, operands[0]));
         operands[0] = reg;
       }
***************
*** 5634,5640 ****
     if (! SYMBOL_REF_FLAG (operands[1]))
       {
         rtx reg = gen_reg_rtx (Pmode);
!
         emit_insn (gen_symGOTPLT2reg (reg, operands[1]));
         operands[1] = reg;
       }
--- 5635,5641 ----
     if (! SYMBOL_REF_FLAG (operands[1]))
       {
         rtx reg = gen_reg_rtx (Pmode);
!
         emit_insn (gen_symGOTPLT2reg (reg, operands[1]));
         operands[1] = reg;
       }
***************
*** 5841,5847 ****
     if (! SYMBOL_REF_FLAG (operands[0]))
       {
         rtx reg = gen_reg_rtx (Pmode);
!
         /* We must not use GOTPLT for sibcalls, because PIC_REG
    must be restored before the PLT code gets to run.  */
         emit_insn (gen_symGOT2reg (reg, operands[0]));
--- 5842,5848 ----
     if (! SYMBOL_REF_FLAG (operands[0]))
       {
         rtx reg = gen_reg_rtx (Pmode);
!
         /* We must not use GOTPLT for sibcalls, because PIC_REG
    must be restored before the PLT code gets to run.  */
         emit_insn (gen_symGOT2reg (reg, operands[0]));
***************
*** 6167,6173 ****
     (use (label_ref (match_operand 1 "" "")))]
    "TARGET_SHMEDIA"
    "blink %0, r63")
!
  ;; Call subroutine returning any type.
  ;; ??? This probably doesn't work.

--- 6168,6174 ----
     (use (label_ref (match_operand 1 "" "")))]
    "TARGET_SHMEDIA"
    "blink %0, r63")
!
  ;; Call subroutine returning any type.
  ;; ??? This probably doesn't work.

***************
*** 6284,6290 ****
   tr = gen_rtx_SUBREG (GET_MODE (operands[0]), tr, 0);

        insn = emit_move_insn (operands[0], tr);
!
        REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, equiv,
       REG_NOTES (insn));

--- 6285,6291 ----
   tr = gen_rtx_SUBREG (GET_MODE (operands[0]), tr, 0);

        insn = emit_move_insn (operands[0], tr);
!
        REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, equiv,
       REG_NOTES (insn));

***************
*** 6370,6379 ****
    if (TARGET_SHMEDIA)
      {
        rtx reg = operands[2];
!
        if (GET_MODE (reg) != DImode)
   reg = gen_rtx_SUBREG (DImode, reg, 0);
!
        if (flag_pic > 1)
   emit_insn (gen_movdi_const_32bit (reg, operands[1]));
        else
--- 6371,6380 ----
    if (TARGET_SHMEDIA)
      {
        rtx reg = operands[2];
!
        if (GET_MODE (reg) != DImode)
   reg = gen_rtx_SUBREG (DImode, reg, 0);
!
        if (flag_pic > 1)
   emit_insn (gen_movdi_const_32bit (reg, operands[1]));
        else
***************
*** 6391,6397 ****
    REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, XVECEXP (XEXP (operands[1],
     0), 0, 0),
   REG_NOTES (insn));
!
    DONE;
  }")

--- 6392,6398 ----
    REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EQUAL, XVECEXP (XEXP (operands[1],
     0), 0, 0),
   REG_NOTES (insn));
!
    DONE;
  }")

***************
*** 7231,7237 ****
       (match_dup 2))))
         (set (reg:SI T_REG)
      (ne:SI (ior:SI (match_dup 1) (match_dup 2))
!    (const_int 0)))])]
    ""
    "
  {
--- 7232,7238 ----
       (match_dup 2))))
         (set (reg:SI T_REG)
      (ne:SI (ior:SI (match_dup 1) (match_dup 2))
!    (const_int 0)))])]
    ""
    "
  {
***************
*** 7282,7288 ****
       (match_dup 2))))
         (set (reg:SI T_REG)
      (ne:SI (ior:SI (match_operand 1 "" "") (match_dup 2))
!    (const_int 0)))])]
    "TARGET_SH1"
    "operands[2] = gen_reg_rtx (SImode);")

--- 7283,7289 ----
       (match_dup 2))))
         (set (reg:SI T_REG)
      (ne:SI (ior:SI (match_operand 1 "" "") (match_dup 2))
!    (const_int 0)))])]
    "TARGET_SH1"
    "operands[2] = gen_reg_rtx (SImode);")

***************
*** 8279,8285 ****
  ;;   "#"
  ;;   [(set_attr "length" "4")
  ;;    (set_attr "fp_mode" "double")])
! ;;
  ;; (define_split
  ;;   [(set (match_operand:SI 0 "arith_reg_operand" "=r")
  ;;  (fix:SI (match_operand:DF 1 "arith_reg_operand" "f")))
--- 8280,8286 ----
  ;;   "#"
  ;;   [(set_attr "length" "4")
  ;;    (set_attr "fp_mode" "double")])
! ;;
  ;; (define_split
  ;;   [(set (match_operand:SI 0 "arith_reg_operand" "=r")
  ;;  (fix:SI (match_operand:DF 1 "arith_reg_operand" "f")))
***************
*** 8320,8326 ****
    "* return output_ieee_ccmpeq (insn, operands);"
    [(set_attr "length" "4")
     (set_attr "fp_mode" "double")])
!
  (define_insn "cmpeqdf_media"
    [(set (match_operand:DI 0 "register_operand" "=r")
   (eq:DI (match_operand:DF 1 "fp_arith_reg_operand" "f")
--- 8321,8327 ----
    "* return output_ieee_ccmpeq (insn, operands);"
    [(set_attr "length" "4")
     (set_attr "fp_mode" "double")])
!
  (define_insn "cmpeqdf_media"
    [(set (match_operand:DI 0 "register_operand" "=r")
   (eq:DI (match_operand:DF 1 "fp_arith_reg_operand" "f")
***************
*** 8806,8815 ****
    "TARGET_SHMEDIA && reload_completed
     && GET_MODE (operands[0]) == GET_MODE (operands[1])
     && VECTOR_MODE_SUPPORTED_P (GET_MODE (operands[0]))
!    && XVECEXP (operands[1], 0, 0) != const0_rtx
!    && (HOST_BITS_PER_WIDE_INT >= 64
!        || HOST_BITS_PER_WIDE_INT >= GET_MODE_BITSIZE (GET_MODE (operands[0]))
!        || sh_1el_vec (operands[1], VOIDmode))"
    [(set (match_dup 0) (match_dup 1))]
    "
  {
--- 8807,8813 ----
    "TARGET_SHMEDIA && reload_completed
     && GET_MODE (operands[0]) == GET_MODE (operands[1])
     && VECTOR_MODE_SUPPORTED_P (GET_MODE (operands[0]))
!    && ! zero_vec_operand (operands[1], VOIDmode)"
    [(set (match_dup 0) (match_dup 1))]
    "
  {
***************
*** 8819,8825 ****

    operands[0] = gen_rtx_REG (new_mode, true_regnum (operands[0]));
    operands[1]
!     = simplify_subreg (new_mode, operands[1], GET_MODE (operands[0]), 0);
  }")

  (define_expand "movv2hi"
--- 8817,8823 ----

    operands[0] = gen_rtx_REG (new_mode, true_regnum (operands[0]));
    operands[1]
!     = simplify_subreg (new_mode, operands[1], GET_MODE (operands[1]), 0);
  }")

  (define_expand "movv2hi"
***************
*** 8878,8884 ****
         || register_operand (operands[1], V2SImode))"
    "@
   add %1, r63, %0
!  movi %1, %0
   #
   ld%M1.q %m1, %0
   st%M0.q %m0, %1"
--- 8876,8882 ----
         || register_operand (operands[1], V2SImode))"
    "@
   add %1, r63, %0
!  #
   #
   ld%M1.q %m1, %0
   st%M0.q %m0, %1"
***************
*** 9641,9647 ****
  /* These are useful to expand ANDs and as combiner patterns.  */
  (define_insn "mshfhi_l_di"
    [(set (match_operand:DI 0 "arith_reg_dest" "=r")
!  (ior:DI (lshiftrt:DI (match_operand:DI 1 "arith_reg_or_0_operand" "rU")
                               (const_int 32))
   (and:DI (match_operand:DI 2 "arith_reg_or_0_operand" "rU")
   (const_int -4294967296))))]
--- 9639,9645 ----
  /* These are useful to expand ANDs and as combiner patterns.  */
  (define_insn "mshfhi_l_di"
    [(set (match_operand:DI 0 "arith_reg_dest" "=r")
!  (ior:DI (lshiftrt:DI (match_operand:DI 1 "arith_reg_or_0_operand" "rU")
                               (const_int 32))
   (and:DI (match_operand:DI 2 "arith_reg_or_0_operand" "rU")
   (const_int -4294967296))))]
***************
*** 9653,9663 ****
    [(set (match_operand:DI 0 "arith_reg_dest" "=r")
   (ior:DI (and:DI (match_operand:DI 1 "arith_reg_or_0_operand" "rU")
   (const_int -4294967296))
!  (lshiftrt:DI (match_operand:DI 2 "arith_reg_or_0_operand" "rU")
                               (const_int 32))))]
    "TARGET_SHMEDIA"
    "mshfhi.l %N2, %N1, %0"
    [(set_attr "type" "arith_media")])

  (define_insn "mshflo_l_di"
    [(set (match_operand:DI 0 "arith_reg_dest" "=r")
--- 9651,9680 ----
    [(set (match_operand:DI 0 "arith_reg_dest" "=r")
   (ior:DI (and:DI (match_operand:DI 1 "arith_reg_or_0_operand" "rU")
   (const_int -4294967296))
!  (lshiftrt:DI (match_operand:DI 2 "arith_reg_or_0_operand" "rU")
                               (const_int 32))))]
    "TARGET_SHMEDIA"
    "mshfhi.l %N2, %N1, %0"
    [(set_attr "type" "arith_media")])
+
+ (define_split
+   [(set (match_operand:DI 0 "arith_reg_dest" "")
+  (ior:DI (zero_extend:DI (match_operand:SI 1
+        "extend_reg_or_0_operand" ""))
+  (and:DI (match_operand:DI 2 "arith_reg_or_0_operand" "")
+  (const_int -4294967296))))
+    (clobber (match_operand:DI 3 "arith_reg_dest" ""))]
+   "TARGET_SHMEDIA"
+   [(const_int 0)]
+   "
+ {
+   emit_insn (gen_ashldi3_media (operands[3],
+  simplify_gen_subreg (DImode, operands[1],
+       SImode, 0),
+  GEN_INT (32)));
+   emit_insn (gen_mshfhi_l_di (operands[0], operands[3], operands[2]));
+   DONE;
+ }")

  (define_insn "mshflo_l_di"
    [(set (match_operand:DI 0 "arith_reg_dest" "=r")

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55189 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 2 Jul 2002 18:42:58 +0000 (18:42 +0000)]
2002-07-02  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6642
* include/bits/stl_iterator.h
(__normal_iterator::operator-(const __normal_iterator&)):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/24_iterators/iterator.cc: Add test from the PR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55188 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
neroden [Tue, 2 Jul 2002 18:01:37 +0000 (18:01 +0000)]
* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
cvs[src].
* configure.in: Ditto.

(also fix obvious typo in ChangeLog)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55187 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-02 Andrew Haley <aph@redhat.com>
aph [Tue, 2 Jul 2002 17:21:10 +0000 (17:21 +0000)]
2002-07-02  Andrew Haley  <aph@redhat.com>

        * libjava.lang/inline.java: New file.
        * libjava.lang/inline.out: Likewise.

        * libjava.lang/Array_3.java: Add another case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55186 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppinit.c (cpp_handle_option): Suppress warnings with an
neil [Tue, 2 Jul 2002 17:06:03 +0000 (17:06 +0000)]
* cppinit.c (cpp_handle_option):  Suppress warnings with an
implicit "-w" for "-M" and "-MM".
doc:
* cppopts.texi: Update.
testsuite:
* gcc.dg/cpp/cmdlne-M.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55185 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoCorrect changed function name.
lerdsuwa [Tue, 2 Jul 2002 16:10:00 +0000 (16:10 +0000)]
Correct changed function name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55184 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * typeck2.c (incomplete_type_error): Fix typo caused by
lerdsuwa [Tue, 2 Jul 2002 16:06:49 +0000 (16:06 +0000)]
* typeck2.c (incomplete_type_error): Fix typo caused by
CVS conflict in my last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55183 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/6716
lerdsuwa [Tue, 2 Jul 2002 15:56:01 +0000 (15:56 +0000)]
PR c++/6716
* pt.c (can_complete_type_without_circularity): New function.
(instantiate_class_template): Use it.
* typeck2.c (incomplete_type_error): Improve error message
due to incomplete fields.

* g++.dg/template/instantiate1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55182 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Tue, 2 Jul 2002 07:19:51 +0000 (07:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55179 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-02 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 2 Jul 2002 06:39:04 +0000 (06:39 +0000)]
2002-07-02  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/7173
* acinclude.m4:  Simplify determination of gcc_version, and move
up to GLIBCPP_CONFIGURE.
* configure.in (release_VERSION):  Really remove.
(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
* aclocal.m4, configure:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55174 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-02 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 2 Jul 2002 06:17:36 +0000 (06:17 +0000)]
2002-07-02  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/configopts.html, docs/html/install.html:  Tweaks.
* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55172 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
sayle [Tue, 2 Jul 2002 04:01:04 +0000 (04:01 +0000)]
* config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
builtin_function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55171 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/template/sizeof2.C: New test.
mmitchel [Tue, 2 Jul 2002 03:19:37 +0000 (03:19 +0000)]
* g++.dg/template/sizeof2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55170 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7112
mmitchel [Tue, 2 Jul 2002 03:19:22 +0000 (03:19 +0000)]
PR c++/7112
* g++.dg/template/sizeof2.C: New test.

PR c++/7112
* mangle.c (write_expression): Add mangling for sizeof when
applied to a type.
* operators.def: Remove stale comment.

* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
Set it for the "st" operator.
(demangle_expression): Handle expressions with types as arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55169 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago For PR libgcj/7073:
tromey [Tue, 2 Jul 2002 02:56:11 +0000 (02:56 +0000)]
For PR libgcj/7073:
* parse.y (patch_incomplete_class_ref): Handle VOID_TYPE
specially.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55167 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
tromey [Tue, 2 Jul 2002 02:46:27 +0000 (02:46 +0000)]
* javax/naming/spi/NamingManager.java (getPlusPath): Don't create
StringTokenizer on null string.  For PR libgcj/7180.
From daveho@cs.umd.edu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55166 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoMAINTAINERS (Write After Approval): Add self.
dpatel [Tue, 2 Jul 2002 01:38:58 +0000 (01:38 +0000)]
MAINTAINERS (Write After Approval): Add self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55165 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * README.Portability: Fix typos.
amodra [Tue, 2 Jul 2002 00:15:42 +0000 (00:15 +0000)]
* README.Portability: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55164 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/7177
hp [Mon, 1 Jul 2002 23:18:33 +0000 (23:18 +0000)]
PR target/7177
* config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
of indirections for register inside sign-extended mem part.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55163 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFormatting change
dj [Mon, 1 Jul 2002 23:16:30 +0000 (23:16 +0000)]
Formatting change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55162 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h: Modify builtin_function interface to take an extra
sayle [Mon, 1 Jul 2002 23:07:19 +0000 (23:07 +0000)]
* tree.h:  Modify builtin_function interface to take an extra
argument ATTRS, which is a tree representing an attribute list.

* c-decl.c (builtin_function): Accept additional parameter.
* objc/objc-act.c (builtin_function): Likewise.
* f/com.c (builtin_function): Likewise.
* java/decl.c (builtin_function): Likewise.
* ada/utils.c (builtin_function): Likewise.
* cp/decl.c (builtin_function): Likewise.
(builtin_function_1): Likewise.

* c-common.c (c_common_nodes_and_builtins): Pass an additional
NULL_TREE argument to builtin_function.  (builtin_function_2):
Likewise.
* cp/call.c (build_java_interface_fn_ref): Likewise.
* objc/objc-act.c (synth_module_prologue): Likewise.
* java/decl.c (java_init_decl_processing): Likewise.
* f/com.c (ffe_com_init_0): Likewise.

* config/alpha/alpha.c (alpha_init_builtins): Pass an additional
NULL_TREE argument builtin_function.
* config/arm/arm.c (def_builtin): Likewise.
* config/c4x/c4x.c (c4x_init_builtins): Likewise.
* config/i386/i386.c (def_builtin): Likewise.
* config/ia64/ia64.c (def_builtin): Likewise.
* config/rs6000/rs6000.c (def_builtin): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55161 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS (Write After Approval): Update my e-mail address.
kraai [Mon, 1 Jul 2002 22:51:10 +0000 (22:51 +0000)]
* MAINTAINERS (Write After Approval): Update my e-mail address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55160 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoWipe out apache. Don't configure cgen from the top level; that part is
neroden [Mon, 1 Jul 2002 22:40:12 +0000 (22:40 +0000)]
Wipe out apache.  Don't configure cgen from the top level; that part is
simply pulled over from src.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55159 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
zack [Mon, 1 Jul 2002 21:21:37 +0000 (21:21 +0000)]
* config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
* config/mips/t-isa3264: Likewise.
* config/mmix/t-mmix: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55156 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
danglin [Mon, 1 Jul 2002 21:13:00 +0000 (21:13 +0000)]
* emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55155 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoReorganize, remove now-redundant tests.
neroden [Mon, 1 Jul 2002 21:01:48 +0000 (21:01 +0000)]
Reorganize, remove now-redundant tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55154 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR opt/4046
sayle [Mon, 1 Jul 2002 20:59:00 +0000 (20:59 +0000)]
PR opt/4046
* fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
B are truth values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55153 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoKill last references to LIBGCC1_TEST, which is never tested and never
neroden [Mon, 1 Jul 2002 20:51:20 +0000 (20:51 +0000)]
Kill last references to LIBGCC1_TEST, which is never tested and never
set to anything but "".  Oy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55152 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * README.Portability (Function prototypes): Give an example of
kraai [Mon, 1 Jul 2002 20:24:41 +0000 (20:24 +0000)]
* README.Portability (Function prototypes): Give an example of
declaring and defining a function with no arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55151 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * README.Portability (Function prototypes): Document new
kraai [Mon, 1 Jul 2002 20:09:52 +0000 (20:09 +0000)]
* README.Portability (Function prototypes): Document new
variable-argument function macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55150 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoconfig-ml.in doesn't need to worry about cygnus configure
neroden [Mon, 1 Jul 2002 19:59:22 +0000 (19:59 +0000)]
config-ml.in doesn't need to worry about cygnus configure

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55149 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 1 Jul 2002 19:58:42 +0000 (19:58 +0000)]
2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>

* include/backward/strstream: Remove namespace std. Transfer to...
* include/backward/strstream.h: ...here. Qualify std names.
* src/strstream.cc: Remove namespace std.
* include/Makefile.am (backward_headers): Remove strstream.h.
* include/Makefile.in: Regenerate.
* config/linker-map.gnu: Export strstream bits.

* src/fstream-inst.cc: Tweak.
* src/io-inst.cc: Same.
* src/istream-inst.cc: Same.
* src/misc-inst.cc: Same.
* src/ostream-inst.cc: Same.
* src/sstream-inst.cc: Same.
* src/valarray-inst.cc: Same.
* src/misc-inst.cc: Remove unused instantiations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55148 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.c (langhooks.h): Include.
amylaar [Mon, 1 Jul 2002 19:41:54 +0000 (19:41 +0000)]
* sh.c (langhooks.h): Include.
(sh_init_builtins, sh_media_init_builtins): New functions.
(sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
(mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
(sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
(builtin_description): New struct tag.
(signature_args, bdesc): New arrays.
(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
(print_operand): Add 'N' modifier.
* sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
(EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
(EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
(CONST_COSTS): Add special case for SHmedia AND.
(PREDICATE_CODES): Add and_operand, arith_reg_dest,
extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
target_operand can also be const or unspec.
* sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
(UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
(attribute type): Add new types.
(anddi3): Add splitter.
(movdi_const_16bit+1): Add code to handle vector constants and
bitmasks efficiently.
(shori_media): Have generator function made.
(movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
(movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
(movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
(ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
(negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
(negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
(mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
(mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
(mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
(mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
(mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
(mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
(mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
(mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
(mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
(mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
(mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
(lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
(ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
(ftrv): Likewise.

(fpu_switch+1, fpu_switch+2): Remove constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55147 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/cpp/trad/cmdlne-dD.c, gcc.dg/cpp/trad/cmdlne-dM.c,
neil [Mon, 1 Jul 2002 19:41:52 +0000 (19:41 +0000)]
* gcc.dg/cpp/trad/cmdlne-dD.c, gcc.dg/cpp/trad/cmdlne-dM.c,
gcc.dg/cpp/trad/include.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55146 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/7177
hp [Mon, 1 Jul 2002 19:39:44 +0000 (19:39 +0000)]
PR target/7177
* gcc.c-torture/compile/20020701-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55143 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/objc.exp (objc_target_compile): Add the -I path to ObjC
shebs [Mon, 1 Jul 2002 18:54:39 +0000 (18:54 +0000)]
    * lib/objc.exp (objc_target_compile): Add the -I path to ObjC
        header here...
        * lib/objc-torture.exp (objc-torture-compile): ...instead of here
        (objc-torture-execute): or here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55142 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-01 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 1 Jul 2002 18:40:24 +0000 (18:40 +0000)]
2002-07-01  Aldy Hernandez  <aldyh@redhat.com>

        * tree.c (build_function_type_list): Update function comment.
        Rename first argument to return_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55141 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 1 Jul 2002 18:08:25 +0000 (18:08 +0000)]
2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (libtool_VERSION): Bump to 5:0:0.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55140 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
neil [Mon, 1 Jul 2002 16:13:01 +0000 (16:13 +0000)]
* Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
tradcif.y and related files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55139 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoRemove references to building emacs from top level Makefile.in.
neroden [Mon, 1 Jul 2002 15:59:58 +0000 (15:59 +0000)]
Remove references to building emacs from top level Makefile.in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55138 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/arith-rand-ll.c: New test.
amylaar [Mon, 1 Jul 2002 15:12:49 +0000 (15:12 +0000)]
* gcc.c-torture/execute/arith-rand-ll.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55136 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpptrad.c (skip_whitespace): Pass pointer to prior char.
neil [Mon, 1 Jul 2002 12:51:10 +0000 (12:51 +0000)]
* cpptrad.c (skip_whitespace): Pass pointer to prior char.
testsuite:
* gcc.dg/cpp/trad/escaped-nl.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55135 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppmacro.c: Forgotten commit.
neil [Mon, 1 Jul 2002 12:47:54 +0000 (12:47 +0000)]
* cppmacro.c: Forgotten commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55134 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
ghazi [Mon, 1 Jul 2002 12:13:03 +0000 (12:13 +0000)]
* mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55133 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 1 Jul 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55132 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-30 Douglas Rupp <rupp@gnat.com>
rupp [Mon, 1 Jul 2002 05:38:50 +0000 (05:38 +0000)]
2002-06-30  Douglas Rupp  <rupp@gnat.com>

* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
* Makefile.in (OUTPUT_OPTION): Use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55127 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-29 T.J. Mather <tjmather@maxmind.com>
bryce [Mon, 1 Jul 2002 03:48:39 +0000 (03:48 +0000)]
2002-06-29  T.J. Mather  <tjmather@maxmind.com>

* gcj.texi: Fixed gcj invocation example so that it compiles.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55126 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-30 Devang Patel <dpatel@apple.com>
shebs [Mon, 1 Jul 2002 00:43:41 +0000 (00:43 +0000)]
2002-06-30  Devang Patel  <dpatel@apple.com>

        * objc/objc-act.c (finish_file): Avoid finish_objc() if
        -fsyntax-only.

2002-06-30  Devang Patel  <dpatel@apple.com>

        * objc.dg/fsyntax-only.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55125 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
nathan [Sun, 30 Jun 2002 20:41:38 +0000 (20:41 +0000)]
* cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
(CPTI_TYPE_INFO_PTR_TYPE): ... this.
(tinfo_decl_type): Replace with ...
(type_info_ptr_type): ... this.
(import_export_tinfo): Declare.
(tinfo_decl_p): Rename to ...
(unemitted_tinfo_decl_p): ... this.
* decl2.c (import_export_decl): Break out tinfo handling into ...
(import_export_tinfo): ... here. New function.
(finish_file): Adjust.
* rtti.c (TINFO_REAL_NAME): New macro.
(init_rtti_processing): Create the tinfo types.
(get_tinfo_decl_dynamic): Use type_info_ptr_type, get_tinfo_ptr.
(get_tinfo_decl): Adjust.
(get_tinfo_ptr): New function.
(get_type_id): Use it.
(tinfo_base_init): Create vtable decl here, if it doesn't exist.
(ptr_initializer): Use get_tinfo_ptr.
(ptm_initializer): Likewise.
(synthesize_tinfo_var): Break into ...
(get_pseudo_ti_init): ... this. Just create the initializer.
(get_pseudo_ti_desc): .. and this.
(create_real_tinfo_var): Remove.
(create_pseudo_type_info): Don't create the vtable decl here.
(get_vmi_pseudo_type_info): Remove.
(create_tinfo_types): Adjust.
(tinfo_decl_p): Rename to ...
(unemitted_tinfo_decl_p): ... here. Adjust.
(emit_tinfo_decl): Adjust. Create the initializer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55124 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/extend.texi: Add ip2k port to description of attribute
denisc [Sun, 30 Jun 2002 19:27:48 +0000 (19:27 +0000)]
* doc/extend.texi: Add ip2k port to description of attribute
naked.
* doc/install.texi (Specific): Add ip2k description.
* doc/install-old.texi (Configurations): Add ip2k to possible
cpu types.
* doc/md.texi: Document ip2k constraints.
* config/ip2k/crt0.S: New file.
* config/ip2k/ip2k-protos.h: New file.
* config/ip2k/ip2k.c: New file.
* config/ip2k/ip2k.h: New file.
* config/ip2k/ip2k.md: New file.
* config/ip2k/libgcc.S: New file.
* config/ip2k/t-ip2k: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55122 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mmix/mmix.md ("return"): New pattern.
hp [Sun, 30 Jun 2002 18:53:53 +0000 (18:53 +0000)]
* config/mmix/mmix.md ("return"): New pattern.
* config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN)
(TARGET_USE_RETURN_INSN): New macros.
(TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN.
(TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit.
* config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing.
(MMIX_POP_ARGUMENT): New macro.
(mmix_target_asm_function_prologue): When no epilogue is executed,
just emit a blank line.  Use MMIX_POP_ARGUMENT with final POP insn.
(mmix_print_operand) <case '.'>: New case.
(mmix_print_operand_punct_valid_p): Match '.'.
(mmix_use_simple_return): New function.
* config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype.
* doc/invoke.texi (Option Summary) <MMIX Summary>: Add
-msingle-exit, -mno-single-exit.
(MMIX Options): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55121 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-30 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sun, 30 Jun 2002 17:01:39 +0000 (17:01 +0000)]
2002-06-30  Aldy Hernandez  <aldyh@redhat.com>

        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55120 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
ghazi [Sun, 30 Jun 2002 12:14:15 +0000 (12:14 +0000)]
* gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55119 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 30 Jun 2002 07:18:09 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55117 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * unroll.c (loop_iterations): Handle EQ loops.
amodra [Sun, 30 Jun 2002 05:06:01 +0000 (05:06 +0000)]
* unroll.c (loop_iterations): Handle EQ loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55111 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
dje [Sun, 30 Jun 2002 01:44:43 +0000 (01:44 +0000)]
    * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
        constraint in define_expand, not splitter.
        Formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55110 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-29 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sun, 30 Jun 2002 01:19:58 +0000 (01:19 +0000)]
2002-06-29  Aldy Hernandez  <aldyh@redhat.com>

        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
        build_function_type_list instead of build_function_type.

        * config/ia64/ia64.c (ia64_init_builtins): Same.

        * config/alpha/alpha.c (alpha_init_builtins): Same.

        * config/rs6000/rs6000.c (altivec_init_builtins): Same.

        * config/arm/arm.c (arm_init_builtins): Same.

        * tree.h: Add build_function_type_list prototype.

        * tree.c (build_function_type_list): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55109 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * collect2.c (scan_prog_file): Fix typo in message.
ghazi [Sat, 29 Jun 2002 22:51:11 +0000 (22:51 +0000)]
* collect2.c (scan_prog_file): Fix typo in message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55107 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-28 Aaron Lehmann <aaronl@vitelus.com>
aldyh [Sat, 29 Jun 2002 21:14:21 +0000 (21:14 +0000)]
2002-06-28  Aaron Lehmann  <aaronl@vitelus.com>

        * fold-cont.c: Remove unused CHARMASK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55106 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
hboehm [Sat, 29 Jun 2002 17:34:06 +0000 (17:34 +0000)]
    * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55104 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/7150
neil [Sat, 29 Jun 2002 15:49:24 +0000 (15:49 +0000)]
PR preprocessor/7150
* cppmain.c (scan_translation_unit_trad): Simplify.
* cpplib.c (cpp_scan_nooutput): Handle traditional case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55102 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
neil [Sat, 29 Jun 2002 09:10:04 +0000 (09:10 +0000)]
* config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
Don't use CPP_PREDEFINES.
* config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New.
Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES.
* config/i386/djgpp.h, config/i386/i386-coff.h,
config/i386/i386-interix.h, config/i386/i386-interix3.h,
config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h,
config/i386/uwin.h: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55101 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 29 Jun 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55100 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
m.hayes [Sat, 29 Jun 2002 03:05:50 +0000 (03:05 +0000)]
    * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
flag_inline_trees to enable inlining.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55091 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-28 Phil Edwards <pme@gcc.gnu.org>
pme [Sat, 29 Jun 2002 01:10:51 +0000 (01:10 +0000)]
2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
* include/std/std_queue.h:  Include deque.tcc, vector.tcc.
* include/std/std_stack.h:  Include deque.tcc.
* testsuite/23_containers/adaptors.cc:  New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55090 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-28 Phil Edwards <pme@gcc.gnu.org>
pme [Sat, 29 Jun 2002 00:19:00 +0000 (00:19 +0000)]
2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (gcc_gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
* configure:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55088 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
law [Fri, 28 Jun 2002 23:41:19 +0000 (23:41 +0000)]
    * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55087 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (combine_simplify_rtx): Pass the mode of the
law [Fri, 28 Jun 2002 21:34:47 +0000 (21:34 +0000)]
    * combine.c (combine_simplify_rtx): Pass the mode of the
        shift count, not the shift operation when trying to simplify
        a shift on a SHIFT_COUNT_TRUNCATED target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55085 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
ciceron [Fri, 28 Jun 2002 21:16:58 +0000 (21:16 +0000)]
* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
avoid the auto increment addressing modes.
("*subsi3"): Likewise.
(split for add/sub on address): For 68HC12 push the value on
the stack and do the operation with a pop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55083 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-28 Graham Stott <graham.stott@btinternet.com>
grahams [Fri, 28 Jun 2002 21:07:30 +0000 (21:07 +0000)]
2002-06-28  Graham Stott  <graham.stott@btinternet.com>

* MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55082 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Update email address.
grahams [Fri, 28 Jun 2002 21:00:15 +0000 (21:00 +0000)]
* Update email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55081 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
ciceron [Fri, 28 Jun 2002 20:49:36 +0000 (20:49 +0000)]
* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
do not reorder basic blocks at the end when optimizing for size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55079 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplib.c (_cpp_handle_directive): Move #define-specific
neil [Fri, 28 Jun 2002 20:27:14 +0000 (20:27 +0000)]
* cpplib.c (_cpp_handle_directive): Move #define-specific
code to the #define handler...
(do_define): ...here.
(lex_macro_node): No longer a need to check for comments here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55077 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.c (autoinc_mode): New function.
ciceron [Fri, 28 Jun 2002 20:26:16 +0000 (20:26 +0000)]
* config/m68hc11/m68hc11.c (autoinc_mode): New function.
(m68hc11_make_autoinc_notes): New function.
(m68hc11_split_move): Be very cautious when spliting a move with
auto increment/decrement modes because this may result in incompatible
directions; add REG_INC notes to the resulting insn for CSE reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55076 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-28 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 28 Jun 2002 19:58:32 +0000 (19:58 +0000)]
2002-06-28  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Mention 2 Gbyte limit on 32-bit targets
for arrays explicitly in news on g77-3.1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55075 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
ciceron [Fri, 28 Jun 2002 19:52:17 +0000 (19:52 +0000)]
* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
can be a valid address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55073 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agook, this is the right version ;-)
aldyh [Fri, 28 Jun 2002 19:13:15 +0000 (19:13 +0000)]
ok, this is the right version ;-)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55071 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agofix stupidity of committing the wrong version of the file
aldyh [Fri, 28 Jun 2002 19:11:22 +0000 (19:11 +0000)]
fix stupidity of committing the wrong version of the file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55070 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-28 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 28 Jun 2002 19:06:08 +0000 (19:06 +0000)]
2002-06-28  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c: Remove unusued variables from last
        patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55069 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-27 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 28 Jun 2002 18:07:41 +0000 (18:07 +0000)]
2002-06-27  Aldy Hernandez  <aldyh@redhat.com>

        Revert:
        * config/rs6000/rs6000.c (rs6000_override_options): Move
        *SUBTARGET_OVERRIDE_OPTIONS before the -m options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55068 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-27 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 28 Jun 2002 17:32:12 +0000 (17:32 +0000)]
2002-06-27  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_expand_builtin): Move
        lvx/stv/dst builtins...
        (altivec_expand_ld_builtin): ...to here.
        (altivec_expand_st_builtin): ...here.
        (altivec_expand_dst_builtin): ...and here (respectively).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55067 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
bwilson [Fri, 28 Jun 2002 17:24:34 +0000 (17:24 +0000)]
    * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55066 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoPrevent creation of paradoxical FLOAT_MODE subregs
bernds [Fri, 28 Jun 2002 15:43:54 +0000 (15:43 +0000)]
Prevent creation of paradoxical FLOAT_MODE subregs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55064 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 28 Jun 2002 07:18:09 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55061 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR ada/7144
aj [Fri, 28 Jun 2002 06:35:14 +0000 (06:35 +0000)]
PR ada/7144
* Makefile.in: Fix typo in comment, patch by Adrian Knoth
<adi@thur.de>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55056 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/7138
neil [Fri, 28 Jun 2002 06:26:54 +0000 (06:26 +0000)]
PR preprocessor/7138
* cpplib.c (_cpp_handle_directive): Do traditional
preparation after setting state.angled_headers.
* cpptrad.c (scan_out_logical_line): Fix potential
quote bug.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55055 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 28 Jun 2002 04:21:17 +0000 (04:21 +0000)]
Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_override_options): Move
        *SUBTARGET_OVERRIDE_OPTIONS before the -m options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55053 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
bwilson [Thu, 27 Jun 2002 23:17:46 +0000 (23:17 +0000)]
    * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
        (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start,
        zero_cost_loop_end): Remove unnecessary "parallel" from insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55046 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-27 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 27 Jun 2002 22:09:02 +0000 (22:09 +0000)]
2002-06-27  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
* docs/html/ext/howto.html:  Update allocator notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55044 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/6695
mmitchel [Thu, 27 Jun 2002 21:45:56 +0000 (21:45 +0000)]
PR c++/6695
* pt.c (tsubst_friend_class): Substitute into the context of the
friend before using it.

PR c++/6695
* g++.dg/template/friend7.C: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55041 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
sayle [Thu, 27 Jun 2002 20:15:57 +0000 (20:15 +0000)]
* config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
* config/stormy16/stormy16.h: Likewise.

* config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef
with #define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55039 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move
gerald [Thu, 27 Jun 2002 19:08:52 +0000 (19:08 +0000)]
    * doc/install.texi (Binaries): Add Sinix/Reliant Unix.  Move
        Hitachi entry.  Make punctuation more consistent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55037 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-27 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 27 Jun 2002 18:23:33 +0000 (18:23 +0000)]
2002-06-27  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in
        return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55035 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi: Change ` bit' to `-bit'.
kraai [Thu, 27 Jun 2002 17:19:06 +0000 (17:19 +0000)]
* doc/install.texi: Change ` bit' to `-bit'.
* doc/md.texi: Change `-bits' to `-bit'.
* doc/tm.texi: Change `-bits' to ` bits'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55033 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (hoist_code): Rewrite to only get list of dominated
law [Thu, 27 Jun 2002 15:56:40 +0000 (15:56 +0000)]
    * gcse.c (hoist_code): Rewrite to only get list of dominated
        blocks once per BB. Also fix reversed test (by removing need for
        the test at all).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55031 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements to
amylaar [Thu, 27 Jun 2002 14:24:30 +0000 (14:24 +0000)]
* gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements to
avoid division by zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55030 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 27 Jun 2002 10:19:53 +0000 (10:19 +0000)]
2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* config.if (libstdcxx_incdir): Version C++ headers.
(cxx_incdir): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55029 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 27 Jun 2002 10:16:50 +0000 (10:16 +0000)]
2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (INTERFACE): Remove.
(release_VERSION): Remove.
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
(libstdcxx_interface): Change. Use gcc methods to determine version.
* configure: Regenerate.
* aclocal.m4: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55028 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 27 Jun 2002 07:17:30 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55027 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpphash.h (_cpp_set_trad_context): Remove.
neil [Thu, 27 Jun 2002 06:01:58 +0000 (06:01 +0000)]
* cpphash.h (_cpp_set_trad_context): Remove.
* cpplib.c (prepare_directive_trad): Do nothing for #define.
(cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context.
* cpptrad.c: Update comments.
(_cpp_read_logical_line_trad): Let scan_logical_line handle
updating the current context.
(scan_logical_line): Update the current context.
(_cpp_create_trad_definition): Similarly.
(_cpp_set_trad_context): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55022 138bc75d-0d04-0410-961f-82ee72b054a4