This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix e500 builtin type
- From: Mark Mitchell <mark at codesourcery dot com>
- To: zack at codesourcery dot com, aldyh at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 May 2003 12:31:46 -0700
- Subject: PATCH: Fix e500 builtin type
- Reply-to: mark at codesourcery dot com
This patch fixes a minor thinko in the creation of the type of one of
the E500 builtins.
Applied under the obvious fix rule on the mainline and on the e500
branch.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
2003-05-09 Mark Mitchell <mark@codesourcery.com>
* config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
of int_ftype_void.
Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.403.2.6.2.4
diff -c -5 -p -r1.403.2.6.2.4 rs6000.c
*** rs6000.c 5 May 2003 19:22:51 -0000 1.403.2.6.2.4
--- rs6000.c 9 May 2003 19:22:12 -0000
*************** spe_init_builtins ()
*** 5516,5527 ****
tree void_ftype_int
= build_function_type (void_type_node,
tree_cons (NULL_TREE, integer_type_node, endlink));
tree int_ftype_void
! = build_function_type (integer_type_node,
! tree_cons (NULL_TREE, void_type_node, endlink));
tree v2si_ftype_pv2si_int
= build_function_type (opaque_V2SI_type_node,
tree_cons (NULL_TREE, opaque_p_V2SI_type_node,
tree_cons (NULL_TREE, integer_type_node,
--- 5516,5526 ----
tree void_ftype_int
= build_function_type (void_type_node,
tree_cons (NULL_TREE, integer_type_node, endlink));
tree int_ftype_void
! = build_function_type (integer_type_node, endlink);
tree v2si_ftype_pv2si_int
= build_function_type (opaque_V2SI_type_node,
tree_cons (NULL_TREE, opaque_p_V2SI_type_node,
tree_cons (NULL_TREE, integer_type_node,