diff options
author | Ryan T. Sammartino <ryants@shaw.ca> | 2002-02-27 00:22:09 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-02-26 16:22:09 -0800 |
commit | ff88fe10350cc5bdb652fdc37c99507cc8b41242 (patch) | |
tree | dc4970c1b2719ecbf07d64d579ef3e2a3c901702 /gcc | |
parent | d410858908e7f8a1be4d98799b99b9a56a9fa8eb (diff) | |
download | gcc-ff88fe10350cc5bdb652fdc37c99507cc8b41242.zip gcc-ff88fe10350cc5bdb652fdc37c99507cc8b41242.tar.gz gcc-ff88fe10350cc5bdb652fdc37c99507cc8b41242.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 14 | ||||
-rw-r--r-- | gcc/fixinc/gnu-regex.c | 5 |
3 files changed, 14 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0021232..b6d57ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 836fbf5..492888f 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 c4a8244..7468cad 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 <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 () { |