From: Ryan T. Sammartino Date: Wed, 27 Feb 2002 00:22:09 +0000 (+0000) Subject: emit-rtl.c (gen_const_vector_0): Remove TYPE argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff88fe10350cc5bdb652fdc37c99507cc8b41242;p=gcc.git emit-rtl.c (gen_const_vector_0): Remove TYPE argument. * 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. From-SVN: r50072 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00212326b2e..b6d57abfec5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-02-26 Ryan T. Sammartino + + * 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 * pa-linux.h (LIB_SPEC): Update definition. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 836fbf5385a..492888f9037 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -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) diff --git a/gcc/fixinc/gnu-regex.c b/gcc/fixinc/gnu-regex.c index c4a8244696e..7468cad5269 100644 --- a/gcc/fixinc/gnu-regex.c +++ b/gcc/fixinc/gnu-regex.c @@ -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 #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 () {