Commit ff88fe10 by Ryan T. Sammartino Committed by Richard Henderson

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
parent d4108589
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> 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa-linux.h (LIB_SPEC): Update definition. * pa-linux.h (LIB_SPEC): Update definition.
......
...@@ -196,7 +196,7 @@ static mem_attrs *get_mem_attrs PARAMS ((HOST_WIDE_INT, tree, rtx, ...@@ -196,7 +196,7 @@ static mem_attrs *get_mem_attrs PARAMS ((HOST_WIDE_INT, tree, rtx,
rtx, unsigned int, rtx, unsigned int,
enum machine_mode)); enum machine_mode));
static tree component_ref_for_mem_expr PARAMS ((tree)); 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. /* Probability of the conditional branch currently proceeded by try_split.
Set to -1 otherwise. */ Set to -1 otherwise. */
...@@ -4800,12 +4800,10 @@ mark_emit_status (es) ...@@ -4800,12 +4800,10 @@ mark_emit_status (es)
ggc_mark_rtx (es->x_first_insn); ggc_mark_rtx (es->x_first_insn);
} }
/* Generate the constant 0. The first argument is MODE_VECTOR_INT for /* Generate the constant 0. */
integers or MODE_VECTOR_FLOAT for floats. */
static rtx static rtx
gen_const_vector_0 (type, mode) gen_const_vector_0 (mode)
enum mode_class type;
enum machine_mode mode; enum machine_mode mode;
{ {
rtx tem; rtx tem;
...@@ -4973,14 +4971,12 @@ init_emit_once (line_numbers) ...@@ -4973,14 +4971,12 @@ init_emit_once (line_numbers)
for (mode = GET_CLASS_NARROWEST_MODE (MODE_VECTOR_INT); for (mode = GET_CLASS_NARROWEST_MODE (MODE_VECTOR_INT);
mode != VOIDmode; mode != VOIDmode;
mode = GET_MODE_WIDER_MODE (mode)) mode = GET_MODE_WIDER_MODE (mode))
const_tiny_rtx[0][(int) mode] const_tiny_rtx[0][(int) mode] = gen_const_vector_0 (mode);
= gen_const_vector_0 (MODE_VECTOR_INT, mode);
for (mode = GET_CLASS_NARROWEST_MODE (MODE_VECTOR_FLOAT); for (mode = GET_CLASS_NARROWEST_MODE (MODE_VECTOR_FLOAT);
mode != VOIDmode; mode != VOIDmode;
mode = GET_MODE_WIDER_MODE (mode)) mode = GET_MODE_WIDER_MODE (mode))
const_tiny_rtx[0][(int) mode] const_tiny_rtx[0][(int) mode] = gen_const_vector_0 (mode);
= gen_const_vector_0 (MODE_VECTOR_FLOAT, mode);
for (i = (int) CCmode; i < (int) MAX_MACHINE_MODE; ++i) for (i = (int) CCmode; i < (int) MAX_MACHINE_MODE; ++i)
if (GET_MODE_CLASS ((enum machine_mode) i) == MODE_CC) if (GET_MODE_CLASS ((enum machine_mode) i) == MODE_CC)
......
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
along with this program; if not, write to the Free Software Foundation, along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#undef _GNU_SOURCE
#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>
#endif #endif
...@@ -156,6 +153,8 @@ extern char *re_syntax_table; ...@@ -156,6 +153,8 @@ extern char *re_syntax_table;
static char re_syntax_table[CHAR_SET_SIZE]; static char re_syntax_table[CHAR_SET_SIZE];
static void init_syntax_once PARAMS ((void));
static void static void
init_syntax_once () init_syntax_once ()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment