OSDN Git Service

* alpha.h: NULL_PTR -> NULL.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2001 15:06:41 +0000 (15:06 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2001 15:06:41 +0000 (15:06 +0000)
* arm.c: Likewise.
* arm.h: Likewise.
* avr.h: Likewise.
* c4x.c: Likewise.
* c4x.h: Likewise.
* i386.c: Likewise.
* i386.md: Likewise.
* i860.c: Likewise.
* ia64.c: Likewise.
* m68hc11.h: Likewise.
* rs6000.h: Likewise.
* sh.c: Likewise.
* sh.h: Likewise.
* sparc.h: Likewise.
* v850.c: Likewise.

* expr.c: Likewise.
* final.c: Likewise.
* gcc.c: Likewise.
* recog.c: Likewise.

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

21 files changed:
gcc/ChangeLog
gcc/config/alpha/alpha.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/avr/avr.h
gcc/config/c4x/c4x.c
gcc/config/c4x/c4x.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/i860/i860.c
gcc/config/ia64/ia64.c
gcc/config/m68hc11/m68hc11.h
gcc/config/rs6000/rs6000.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sparc/sparc.h
gcc/config/v850/v850.c
gcc/expr.c
gcc/final.c
gcc/gcc.c
gcc/recog.c

index 96ef027..7b058cc 100644 (file)
@@ -1,5 +1,29 @@
 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * alpha.h: NULL_PTR -> NULL.
+       * arm.c: Likewise.
+       * arm.h: Likewise.
+       * avr.h: Likewise.
+       * c4x.c: Likewise.
+       * c4x.h: Likewise.
+       * i386.c: Likewise.
+       * i386.md: Likewise.
+       * i860.c: Likewise.
+       * ia64.c: Likewise.
+       * m68hc11.h: Likewise.
+       * rs6000.h: Likewise.
+       * sh.c: Likewise.
+       * sh.h: Likewise.
+       * sparc.h: Likewise.
+       * v850.c: Likewise.
+
+       * expr.c: Likewise.
+       * final.c: Likewise.
+       * gcc.c: Likewise.
+       * recog.c: Likewise.
+
+2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
        * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
        `bool' parameter to `int'.
 
index 3e44953..195d421 100644 (file)
@@ -1583,7 +1583,7 @@ do {                                                                      \
       && GET_CODE (XEXP (XEXP (X, 0), 1)) == CONST_INT                 \
       && GET_CODE (XEXP (X, 1)) == CONST_INT)                          \
     {                                                                  \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,      \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,  \
                   BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,        \
                   OPNUM, TYPE);                                        \
       goto WIN;                                                                \
@@ -1611,7 +1611,7 @@ do {                                                                      \
                                      GEN_INT (high)),                  \
                        GEN_INT (low));                                 \
                                                                        \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,      \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,  \
                   BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,        \
                   OPNUM, TYPE);                                        \
       goto WIN;                                                                \
index b89392e..55e4630 100644 (file)
@@ -8647,7 +8647,7 @@ arm_final_prescan_insn (insn)
              if (!this_insn)
                {
                  /* Oh, dear! we ran off the end.. give up */
-                 recog (PATTERN (insn), insn, NULL_PTR);
+                 recog (PATTERN (insn), insn, NULL);
                  arm_ccfsm_state = 0;
                  arm_target_insn = NULL;
                  return;
@@ -8685,7 +8685,7 @@ arm_final_prescan_insn (insn)
         destroy this array, but final.c assumes that it remains intact
         across this call; since the insn has been recognized already we
         call recog direct).  */
-      recog (PATTERN (insn), insn, NULL_PTR);
+      recog (PATTERN (insn), insn, NULL);
     }
 }
 
@@ -8801,7 +8801,7 @@ arm_debugger_arg_offset (value, addr)
 }
 
 #define def_builtin(NAME, TYPE, CODE) \
-  builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, NULL_PTR)
+  builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, NULL)
 
 void
 arm_init_builtins ()
index a4c1b70..61082c3 100644 (file)
@@ -1257,7 +1257,7 @@ enum reg_class
                            gen_rtx_PLUS (GET_MODE (X), XEXP (X, 0),       \
                                          GEN_INT (high)),                 \
                            GEN_INT (low));                                \
-         push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,      \
+         push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,          \
                       BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,       \
                       OPNUM, TYPE);                                       \
          goto WIN;                                                        \
@@ -1284,7 +1284,7 @@ enum reg_class
     {                                                                  \
       rtx orig_X = X;                                                  \
       X = copy_rtx (X);                                                        \
-      push_reload (orig_X, NULL_RTX, &X, NULL_PTR,                     \
+      push_reload (orig_X, NULL_RTX, &X, NULL,                         \
                   BASE_REG_CLASS,                                      \
                   Pmode, VOIDmode, 0, 0, OPNUM, TYPE);                 \
       goto WIN;                                                                \
index 96f2872..0939980 100644 (file)
@@ -1677,22 +1677,22 @@ do {                                                                        \
            {                                                               \
              int regno = REGNO (XEXP (X, 0));                              \
              rtx mem = make_memloc (X, regno);                             \
-             push_reload (XEXP (mem,0), NULL_PTR, &XEXP (mem,0), NULL_PTR, \
+             push_reload (XEXP (mem,0), NULL, &XEXP (mem,0), NULL,         \
                           POINTER_REGS, Pmode, VOIDmode, 0, 0,             \
                           1, ADDR_TYPE (TYPE));                            \
-             push_reload (mem, NULL_RTX, &XEXP (X, 0), NULL_PTR,           \
+             push_reload (mem, NULL_RTX, &XEXP (X, 0), NULL,               \
                           BASE_POINTER_REGS, GET_MODE (X), VOIDmode, 0, 0, \
                           OPNUM, TYPE);                                    \
              goto WIN;                                                     \
            }                                                               \
-         push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,       \
+         push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,           \
                       BASE_POINTER_REGS, GET_MODE (X), VOIDmode, 0, 0,     \
                       OPNUM, TYPE);                                        \
           goto WIN;                                                        \
        }                                                                   \
       else if (! (frame_pointer_needed && XEXP (X,0) == frame_pointer_rtx)) \
        {                                                                   \
-         push_reload (X, NULL_RTX, &X, NULL_PTR,                           \
+         push_reload (X, NULL_RTX, &X, NULL,                               \
                       POINTER_REGS, GET_MODE (X), VOIDmode, 0, 0,          \
                       OPNUM, TYPE);                                        \
           goto WIN;                                                        \
index dcc948e..9486fdc 100644 (file)
@@ -5032,12 +5032,12 @@ c4x_init_builtins (endlink)
                    build_function_type 
                    (integer_type_node,
                     tree_cons (NULL_TREE, double_type_node, endlink)),
-                   C4X_BUILTIN_FIX, BUILT_IN_MD, NULL_PTR);
+                   C4X_BUILTIN_FIX, BUILT_IN_MD, NULL);
   builtin_function ("ansi_ftoi",
                    build_function_type 
                    (integer_type_node, 
                     tree_cons (NULL_TREE, double_type_node, endlink)),
-                   C4X_BUILTIN_FIX_ANSI, BUILT_IN_MD, NULL_PTR);
+                   C4X_BUILTIN_FIX_ANSI, BUILT_IN_MD, NULL);
   if (TARGET_C3X)
     builtin_function ("fast_imult",
                      build_function_type
@@ -5045,24 +5045,24 @@ c4x_init_builtins (endlink)
                       tree_cons (NULL_TREE, integer_type_node,
                                  tree_cons (NULL_TREE,
                                             integer_type_node, endlink))),
-                     C4X_BUILTIN_MPYI, BUILT_IN_MD, NULL_PTR);
+                     C4X_BUILTIN_MPYI, BUILT_IN_MD, NULL);
   else
     {
       builtin_function ("toieee",
                        build_function_type 
                        (double_type_node,
                         tree_cons (NULL_TREE, double_type_node, endlink)),
-                       C4X_BUILTIN_TOIEEE, BUILT_IN_MD, NULL_PTR);
+                       C4X_BUILTIN_TOIEEE, BUILT_IN_MD, NULL);
       builtin_function ("frieee",
                        build_function_type
                        (double_type_node, 
                         tree_cons (NULL_TREE, double_type_node, endlink)),
-                       C4X_BUILTIN_FRIEEE, BUILT_IN_MD, NULL_PTR);
+                       C4X_BUILTIN_FRIEEE, BUILT_IN_MD, NULL);
       builtin_function ("fast_invf",
                        build_function_type 
                        (double_type_node, 
                         tree_cons (NULL_TREE, double_type_node, endlink)),
-                       C4X_BUILTIN_RCPF, BUILT_IN_MD, NULL_PTR);
+                       C4X_BUILTIN_RCPF, BUILT_IN_MD, NULL);
     }
 }
 
index 9a19f85..b344f4d 100644 (file)
@@ -1734,7 +1734,7 @@ CUMULATIVE_ARGS;
          X = gen_rtx_LO_SUM (GET_MODE (X),                             \
                              gen_rtx_HIGH (GET_MODE (X), X), X);       \
           i = push_reload (XEXP (X, 0), NULL_RTX,                      \
-                          &XEXP (X, 0), NULL_PTR,                      \
+                          &XEXP (X, 0), NULL,                          \
                           DP_REG, GET_MODE (X), VOIDmode, 0, 0,        \
                           OPNUM, TYPE);                                \
           /* The only valid reg is DP. This is a fixed reg and will    \
@@ -1757,7 +1757,7 @@ CUMULATIVE_ARGS;
       if (! TARGET_SMALL)                                              \
        {                                                               \
           int i = push_reload (XEXP (X, 0), NULL_RTX,                  \
-                              &XEXP (X, 0), NULL_PTR,                  \
+                              &XEXP (X, 0), NULL,                      \
                               DP_REG, GET_MODE (X), VOIDmode, 0, 0,    \
                               OPNUM, TYPE);                            \
           /* The only valid reg is DP. This is a fixed reg and will    \
index 3c31c49..a18e890 100644 (file)
@@ -9019,7 +9019,7 @@ x86_initialize_trampoline (tramp, fnaddr, cxt)
 }
 
 #define def_builtin(NAME, TYPE, CODE) \
-  builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, NULL_PTR)
+  builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, NULL)
 struct builtin_description
 {
   enum insn_code icode;
index 7b55859..f38b405 100644 (file)
 {
   emit_insn (gen_rtx_TRAP_IF (VOIDmode,
                              ix86_expand_compare (GET_CODE (operands[0]),
-                                                  NULL_PTR, NULL_PTR),
+                                                  NULL, NULL),
                              operands[1]));
   DONE;
 }")
index 4789f70..5261b69 100644 (file)
@@ -1451,7 +1451,7 @@ output_delayed_branch (template, operands, insn)
         We must do this after outputting the branch insn,
         since operands may just be a pointer to `recog_data.operand'.  */
       INSN_CODE (delay_insn) = insn_code_number
-       = recog (pat, delay_insn, NULL_PTR);
+       = recog (pat, delay_insn, NULL);
       if (insn_code_number == -1)
        abort ();
 
index de8d2ab..31907fa 100644 (file)
@@ -6950,7 +6950,7 @@ ia64_init_builtins ()
                                                      endlink));
 
 #define def_builtin(name, type, code) \
-  builtin_function ((name), (type), (code), BUILT_IN_MD, NULL_PTR)
+  builtin_function ((name), (type), (code), BUILT_IN_MD, NULL)
 
   def_builtin ("__sync_val_compare_and_swap_si", si_ftype_psi_si_si,
               IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI);
index f8589c5..f58183c 100644 (file)
@@ -1565,7 +1565,7 @@ do {                                                                    \
       && GET_CODE (XEXP (XEXP (X, 0), 1)) == CONST_INT                 \
       && GET_CODE (XEXP (X, 1)) == CONST_INT)                          \
     {                                                                  \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,       \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,           \
                    BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,        \
                    OPNUM, TYPE);                                        \
       goto WIN;                                                         \
@@ -1588,7 +1588,7 @@ do {                                                                    \
                                       GEN_INT (high)),                  \
                         GEN_INT (low));                                 \
                                                                         \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,       \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,           \
                    BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,        \
                    OPNUM, TYPE);                                        \
       goto WIN;                                                         \
index 694bc03..fe48c0a 100644 (file)
@@ -1943,7 +1943,7 @@ do {                                                                           \
       && GET_CODE (XEXP (XEXP (X, 0), 1)) == CONST_INT                      \
       && GET_CODE (XEXP (X, 1)) == CONST_INT)                               \
     {                                                                       \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,           \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,               \
                    BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,            \
                    OPNUM, TYPE);                                            \
       goto WIN;                                                                     \
@@ -1971,7 +1971,7 @@ do {                                                                           \
                                       GEN_INT (high)),                      \
                         GEN_INT (low));                                             \
                                                                             \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,           \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,               \
                    BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,            \
                    OPNUM, TYPE);                                            \
       goto WIN;                                                                     \
index 29391a6..e96bba9 100644 (file)
@@ -5266,7 +5266,7 @@ sh_insn_length_adjustment (insn)
        template = XSTR (body, 0);
       else if (asm_noperands (body) >= 0)
        template
-         = decode_asm_operands (body, NULL_PTR, NULL_PTR, NULL_PTR, NULL_PTR);
+         = decode_asm_operands (body, NULL, NULL, NULL, NULL);
       else
        return 0;
       do
index a71ba3c..b6a21f4 100644 (file)
@@ -1543,7 +1543,7 @@ extern int current_function_anonymous_args;
       if (TARGET_SH3E && MODE == SFmode)                               \
        {                                                               \
          X = copy_rtx (X);                                             \
-         push_reload (index_rtx, NULL_RTX, &XEXP (X, 1), NULL_PTR,     \
+         push_reload (index_rtx, NULL_RTX, &XEXP (X, 1), NULL,         \
                       INDEX_REG_CLASS, Pmode, VOIDmode, 0, 0, (OPNUM), \
                       (TYPE));                                         \
          goto WIN;                                                     \
@@ -1565,7 +1565,7 @@ extern int current_function_anonymous_args;
          sum = gen_rtx (PLUS, Pmode, XEXP (X, 0),                      \
                         GEN_INT (offset_base));                        \
          X = gen_rtx (PLUS, Pmode, sum, GEN_INT (offset - offset_base));\
-         push_reload (sum, NULL_RTX, &XEXP (X, 0), NULL_PTR,   \
+         push_reload (sum, NULL_RTX, &XEXP (X, 0), NULL,               \
                       BASE_REG_CLASS, Pmode, VOIDmode, 0, 0, (OPNUM),  \
                       (TYPE));                                         \
          goto WIN;                                                     \
@@ -1583,7 +1583,7 @@ extern int current_function_anonymous_args;
       /* Because this address is so complex, we know it must have      \
         been created by LEGITIMIZE_RELOAD_ADDRESS before; thus,        \
         it is already unshared, and needs no further unsharing.  */    \
-      push_reload (XEXP ((X), 0), NULL_RTX, &XEXP ((X), 0), NULL_PTR,  \
+      push_reload (XEXP ((X), 0), NULL_RTX, &XEXP ((X), 0), NULL,      \
                   BASE_REG_CLASS, Pmode, VOIDmode, 0, 0, (OPNUM), (TYPE));\
       goto WIN;                                                                \
     }                                                                  \
index 9cfe4f7..a810756 100644 (file)
@@ -2605,7 +2605,7 @@ do {                                                                    \
     {                                                                  \
       X = gen_rtx_LO_SUM (GET_MODE (X),                                        \
                          gen_rtx_HIGH (GET_MODE (X), X), X);           \
-      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL_PTR,      \
+      push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL,          \
                    BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0,       \
                    OPNUM, TYPE);                                       \
       goto WIN;                                                                \
index a074d95..e97b76d 100644 (file)
@@ -1605,7 +1605,7 @@ expand_prologue ()
              offset -= 4;
            }
 
-         code = recog (save_all, NULL_RTX, NULL_PTR);
+         code = recog (save_all, NULL_RTX, NULL);
          if (code >= 0)
            {
              rtx insn = emit_insn (save_all);
@@ -1790,7 +1790,7 @@ expand_epilogue ()
              offset -= 4;
            }
 
-         code = recog (restore_all, NULL_RTX, NULL_PTR);
+         code = recog (restore_all, NULL_RTX, NULL);
          
          if (code >= 0)
            {
index 67cafeb..7edfea6 100644 (file)
@@ -2382,7 +2382,7 @@ clear_by_pieces (to, len, align)
   struct store_by_pieces data;
 
   data.constfun = clear_by_pieces_1;
-  data.constfundata = NULL_PTR;
+  data.constfundata = NULL;
   data.len = len;
   data.to = to;
   store_by_pieces_1 (&data, align);
@@ -6601,7 +6601,7 @@ expand_expr (exp, target, tmode, modifier)
       return const0_rtx;
 
     case EXIT_EXPR:
-      expand_exit_loop_if_false (NULL_PTR,
+      expand_exit_loop_if_false (NULL,
                                 invert_truthvalue (TREE_OPERAND (exp, 0)));
       return const0_rtx;
 
index a681cee..57d34f5 100644 (file)
@@ -1532,8 +1532,7 @@ asm_insn_count (body)
   if (GET_CODE (body) == ASM_INPUT)
     template = XSTR (body, 0);
   else
-    template = decode_asm_operands (body, NULL_PTR, NULL_PTR,
-                                   NULL_PTR, NULL_PTR);
+    template = decode_asm_operands (body, NULL, NULL, NULL, NULL);
 
   for (; *template; template++)
     if (IS_ASM_LOGICAL_LINE_SEPARATOR (*template) || *template == '\n')
@@ -2337,7 +2336,7 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
       new_block = 1;
 
 #ifdef FINAL_PRESCAN_LABEL
-      FINAL_PRESCAN_INSN (insn, NULL_PTR, 0);
+      FINAL_PRESCAN_INSN (insn, NULL, 0);
 #endif
 
 #ifdef SDB_DEBUGGING_INFO
@@ -2539,8 +2538,7 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
              }
 
            /* Get out the operand values.  */
-           string = decode_asm_operands (body, ops, NULL_PTR,
-                                         NULL_PTR, NULL_PTR);
+           string = decode_asm_operands (body, ops, NULL, NULL, NULL);
            /* Inhibit aborts on what would otherwise be compiler bugs.  */
            insn_noperands = noperands;
            this_is_asm_operands = insn;
index 84ab2bf..643345e 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3051,9 +3051,9 @@ process_command (argc, argv)
 
       set_std_prefix (gcc_exec_prefix, len);
       add_prefix (&exec_prefixes, gcc_exec_prefix, "GCC",
-                 PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                 PREFIX_PRIORITY_LAST, 0, NULL);
       add_prefix (&startfile_prefixes, gcc_exec_prefix, "GCC",
-                 PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                 PREFIX_PRIORITY_LAST, 0, NULL);
     }
 
   /* COMPILER_PATH and LIBRARY_PATH have values
@@ -3081,10 +3081,10 @@ process_command (argc, argv)
              else
                nstore[endp - startp] = 0;
              add_prefix (&exec_prefixes, nstore, 0,
-                         PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                         PREFIX_PRIORITY_LAST, 0, NULL);
              add_prefix (&include_prefixes,
                          concat (nstore, "include", NULL),
-                         0, PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                         0, PREFIX_PRIORITY_LAST, 0, NULL);
              if (*endp == 0)
                break;
              endp = startp = endp + 1;
@@ -3116,7 +3116,7 @@ process_command (argc, argv)
              else
                nstore[endp - startp] = 0;
              add_prefix (&startfile_prefixes, nstore, NULL,
-                         PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                         PREFIX_PRIORITY_LAST, 0, NULL);
              if (*endp == 0)
                break;
              endp = startp = endp + 1;
@@ -3149,7 +3149,7 @@ process_command (argc, argv)
              else
                nstore[endp - startp] = 0;
              add_prefix (&startfile_prefixes, nstore, NULL,
-                         PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                         PREFIX_PRIORITY_LAST, 0, NULL);
              if (*endp == 0)
                break;
              endp = startp = endp + 1;
@@ -3375,14 +3375,14 @@ process_command (argc, argv)
                    {
                      if (len == 7)
                        add_prefix (&include_prefixes, "include", NULL,
-                                   PREFIX_PRIORITY_B_OPT, 0, NULL_PTR);
+                                   PREFIX_PRIORITY_B_OPT, 0, NULL);
                      else
                        {
                          char *string = xmalloc (len + 1);
                          strncpy (string, value, len-7);
                          strcpy (string+len-7, "include");
                          add_prefix (&include_prefixes, string, NULL,
-                                     PREFIX_PRIORITY_B_OPT, 0, NULL_PTR);
+                                     PREFIX_PRIORITY_B_OPT, 0, NULL);
                        }
                    }
                }
@@ -3391,7 +3391,7 @@ process_command (argc, argv)
                add_prefix (&startfile_prefixes, value, NULL,
                            PREFIX_PRIORITY_B_OPT, 0, &warn_B);
                add_prefix (&include_prefixes, concat (value, "include", NULL),
-                           NULL, PREFIX_PRIORITY_B_OPT, 0, NULL_PTR);
+                           NULL, PREFIX_PRIORITY_B_OPT, 0, NULL);
                n_switches++;
              }
              break;
@@ -3597,11 +3597,11 @@ process_command (argc, argv)
          add_prefix (&exec_prefixes,
                      concat (gcc_exec_tooldir_prefix, "bin",
                              dir_separator_str, NULL),
-                     NULL, PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                     NULL, PREFIX_PRIORITY_LAST, 0, NULL);
          add_prefix (&startfile_prefixes,
                      concat (gcc_exec_tooldir_prefix, "lib",
                              dir_separator_str, NULL),
-                     NULL, PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                     NULL, PREFIX_PRIORITY_LAST, 0, NULL);
        }
 
       tooldir_prefix = concat (standard_exec_prefix, spec_machine,
@@ -3611,10 +3611,10 @@ process_command (argc, argv)
 
   add_prefix (&exec_prefixes,
              concat (tooldir_prefix, "bin", dir_separator_str, NULL),
-             "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+             "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL);
   add_prefix (&startfile_prefixes,
              concat (tooldir_prefix, "lib", dir_separator_str, NULL),
-             "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+             "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL);
 
   /* More prefixes are enabled in main, after we read the specs file
      and determine whether this is cross-compilation or not.  */
@@ -5643,18 +5643,18 @@ main (argc, argv)
       if (*md_exec_prefix)
        {
          add_prefix (&exec_prefixes, md_exec_prefix, "GCC",
-                     PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                     PREFIX_PRIORITY_LAST, 0, NULL);
          add_prefix (&startfile_prefixes, md_exec_prefix, "GCC",
-                     PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                     PREFIX_PRIORITY_LAST, 0, NULL);
        }
 
       if (*md_startfile_prefix)
        add_prefix (&startfile_prefixes, md_startfile_prefix, "GCC",
-                   PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                   PREFIX_PRIORITY_LAST, 0, NULL);
 
       if (*md_startfile_prefix_1)
        add_prefix (&startfile_prefixes, md_startfile_prefix_1, "GCC",
-                   PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                   PREFIX_PRIORITY_LAST, 0, NULL);
 
       /* If standard_startfile_prefix is relative, base it on
         standard_exec_prefix.  This lets us move the installed tree
@@ -5662,28 +5662,28 @@ main (argc, argv)
         standard_startfile_prefix on that as well.  */
       if (IS_ABSOLUTE_PATHNAME (standard_startfile_prefix))
        add_prefix (&startfile_prefixes, standard_startfile_prefix, "BINUTILS",
-                   PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                   PREFIX_PRIORITY_LAST, 0, NULL);
       else
        {
          if (gcc_exec_prefix)
            add_prefix (&startfile_prefixes,
                        concat (gcc_exec_prefix, machine_suffix,
                                standard_startfile_prefix, NULL),
-                       NULL, PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                       NULL, PREFIX_PRIORITY_LAST, 0, NULL);
          add_prefix (&startfile_prefixes,
                      concat (standard_exec_prefix,
                              machine_suffix,
                              standard_startfile_prefix, NULL),
-                     NULL, PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                     NULL, PREFIX_PRIORITY_LAST, 0, NULL);
        }
 
       add_prefix (&startfile_prefixes, standard_startfile_prefix_1,
-                 "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                 "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL);
       add_prefix (&startfile_prefixes, standard_startfile_prefix_2,
-                 "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                 "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL);
 #if 0 /* Can cause surprises, and one can use -B./ instead.  */
       add_prefix (&startfile_prefixes, "./", NULL,
-                 PREFIX_PRIORITY_LAST, 1, NULL_PTR);
+                 PREFIX_PRIORITY_LAST, 1, NULL);
 #endif
     }
   else
@@ -5693,7 +5693,7 @@ main (argc, argv)
        add_prefix (&startfile_prefixes,
                    concat (gcc_exec_prefix, machine_suffix,
                            standard_startfile_prefix, NULL),
-                   "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL_PTR);
+                   "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL);
     }
 
   /* Process any user specified specs in the order given on the command
index 3fcd85c..8648316 100644 (file)
@@ -149,7 +149,7 @@ check_asm_operands (x)
   operands = (rtx *) alloca (noperands * sizeof (rtx));
   constraints = (const char **) alloca (noperands * sizeof (char *));
 
-  decode_asm_operands (x, operands, NULL_PTR, constraints, NULL_PTR);
+  decode_asm_operands (x, operands, NULL, constraints, NULL);
 
   for (i = 0; i < noperands; i++)
     {