This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
remove unused variables from ix86_init_mmx_sse_builtins
- To: gcc-patches at gcc dot gnu dot org
- Subject: remove unused variables from ix86_init_mmx_sse_builtins
- From: Matt Kraai <kraai at alumni dot carnegiemellon dot edu>
- Date: Wed, 15 Aug 2001 15:17:12 -0600
Howdy,
The following patch removes the unused int_ftype_v4sf_int,
di_ftype_di_int, and v8qi_ftype_v8qi_di variables from
ix86_init_mmx_sse_builtins. I bootstrapped it on
i686-pc-linux-gnu, and noted that it did not cause any
regressions. I submitted a similar patch earlier[1].
OK to commit?
Matt
1. http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01089.html
2001-08-15 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
variables.
Index: gcc/config/i386/i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.295
diff -c -3 -p -r1.295 i386.c
*** i386.c 2001/08/13 15:52:24 1.295
--- i386.c 2001/08/15 21:09:03
*************** ix86_init_mmx_sse_builtins ()
*** 9449,9460 ****
V4SF_type_node,
endlink)));
/* MMX/SSE/integer conversions. */
- tree int_ftype_v4sf_int
- = build_function_type (integer_type_node,
- tree_cons (NULL_TREE, V4SF_type_node,
- tree_cons (NULL_TREE,
- integer_type_node,
- endlink)));
tree int_ftype_v4sf
= build_function_type (integer_type_node,
tree_cons (NULL_TREE, V4SF_type_node,
--- 9449,9454 ----
*************** ix86_init_mmx_sse_builtins ()
*** 9525,9541 ****
= build_function_type (V4HI_type_node,
tree_cons (NULL_TREE, V4HI_type_node,
tree_cons (NULL_TREE, integer_type_node,
- endlink)));
- tree di_ftype_di_int
- = build_function_type (long_long_unsigned_type_node,
- tree_cons (NULL_TREE, long_long_unsigned_type_node,
- tree_cons (NULL_TREE, integer_type_node,
- endlink)));
- tree v8qi_ftype_v8qi_di
- = build_function_type (V8QI_type_node,
- tree_cons (NULL_TREE, V8QI_type_node,
- tree_cons (NULL_TREE,
- long_long_integer_type_node,
endlink)));
tree v4hi_ftype_v4hi_di
= build_function_type (V4HI_type_node,
--- 9519,9524 ----