aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-03-17 18:46:23 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2009-03-17 18:46:23 +0100
commit6b2b88712792698e1348e585ab91fa8518a250f0 (patch)
tree1561d673290eb404bb41c2a5161a6ff3f15f7b15 /gcc/expr.h
parent16e60c1706a8abf971d1ae216a33cc7e2f29e3c5 (diff)
downloadgcc-6b2b88712792698e1348e585ab91fa8518a250f0.zip
gcc-6b2b88712792698e1348e585ab91fa8518a250f0.tar.gz
gcc-6b2b88712792698e1348e585ab91fa8518a250f0.tar.bz2
re PR middle-end/39443 (Builtin redirection no longer working for memcmp)
PR middle-end/39443 * optabs.c (set_user_assembler_libfunc): New function. * expr.h (set_user_assembler_libfunc): New prototype. * c-common.c: Include libfuncs.h. (set_builtin_user_assembler_name): Call set_user_assembler_libfunc for memcmp, memset, memcpy, memmove and abort. * Makefile.in (c-common.o): Depend on libfuncs.h. * gcc.dg/pr39443.c: New test. From-SVN: r144910
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 730f805..216de87 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -1,6 +1,6 @@
/* Definitions for code generation pass of GNU compiler.
Copyright (C) 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
This file is part of GCC.
@@ -786,6 +786,7 @@ extern void init_all_optabs (void);
/* Call this to initialize an optab function entry. */
extern rtx init_one_libfunc (const char *);
+extern rtx set_user_assembler_libfunc (const char *, const char *);
extern int vector_mode_valid_p (enum machine_mode);