OSDN Git Service

* emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2002 00:22:09 +0000 (00:22 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2002 00:22:09 +0000 (00:22 +0000)
        (init_emit_once): Update calls.
        * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
        (init_syntax_once): Prototype.

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

gcc/ChangeLog
gcc/emit-rtl.c
gcc/fixinc/gnu-regex.c

index 0021232..b6d57ab 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-26  Ryan T. Sammartino <ryants@shaw.ca>
+
+       * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
+       (init_emit_once): Update calls.
+       * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
+       (init_syntax_once): Prototype.
+
 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * pa-linux.h (LIB_SPEC): Update definition.
index 836fbf5..492888f 100644 (file)
@@ -196,7 +196,7 @@ static mem_attrs *get_mem_attrs             PARAMS ((HOST_WIDE_INT, tree, rtx,
                                                 rtx, unsigned int,
                                                 enum machine_mode));
 static tree component_ref_for_mem_expr PARAMS ((tree));
-static rtx gen_const_vector_0 PARAMS ((enum mode_class, enum machine_mode));
+static rtx gen_const_vector_0          PARAMS ((enum machine_mode));
 
 /* Probability of the conditional branch currently proceeded by try_split.
    Set to -1 otherwise.  */
@@ -4800,12 +4800,10 @@ mark_emit_status (es)
   ggc_mark_rtx (es->x_first_insn);
 }
 
-/* Generate the constant 0.  The first argument is MODE_VECTOR_INT for
-   integers or MODE_VECTOR_FLOAT for floats.  */
+/* Generate the constant 0.  */
 
 static rtx
-gen_const_vector_0 (type, mode)
-     enum mode_class type;
+gen_const_vector_0 (mode)
      enum machine_mode mode;
 {
   rtx tem;
@@ -4973,14 +4971,12 @@ init_emit_once (line_numbers)
   for (mode = GET_CLASS_NARROWEST_MODE (MODE_VECTOR_INT);
        mode != VOIDmode;
        mode = GET_MODE_WIDER_MODE (mode))
-    const_tiny_rtx[0][(int) mode]
-      = gen_const_vector_0 (MODE_VECTOR_INT, mode);
+    const_tiny_rtx[0][(int) mode] = gen_const_vector_0 (mode);
 
   for (mode = GET_CLASS_NARROWEST_MODE (MODE_VECTOR_FLOAT);
        mode != VOIDmode;
        mode = GET_MODE_WIDER_MODE (mode))
-    const_tiny_rtx[0][(int) mode]
-      = gen_const_vector_0 (MODE_VECTOR_FLOAT, mode);
+    const_tiny_rtx[0][(int) mode] = gen_const_vector_0 (mode);
 
   for (i = (int) CCmode; i < (int) MAX_MACHINE_MODE; ++i)
     if (GET_MODE_CLASS ((enum machine_mode) i) == MODE_CC)
index c4a8244..7468cad 100644 (file)
@@ -22,9 +22,6 @@
    along with this program; if not, write to the Free Software Foundation, 
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#undef _GNU_SOURCE
-#define _GNU_SOURCE
-
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
@@ -156,6 +153,8 @@ extern char *re_syntax_table;
 
 static char re_syntax_table[CHAR_SET_SIZE];
 
+static void init_syntax_once PARAMS ((void));
+
 static void
 init_syntax_once ()
 {