From 9fcdd8917caba77d188f6facf1623100318cba43 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sun, 23 Jan 2005 19:22:01 +0000 Subject: re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) config: * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do anything for non-GCC compilers. libcpp: * configure: Regenerate. gcc: PR bootstrap/18058 * recog.c (recog_memoized): Don't define if GENERATOR_FILE. * ggc-none.c (ggc_free): Define. From-SVN: r94123 --- gcc/recog.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/recog.h') diff --git a/gcc/recog.h b/gcc/recog.h index 3e88fad5..0c340cc 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -1,5 +1,5 @@ /* Declarations for interface to insn recognizer and insn-output.c. - Copyright (C) 1987, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 + Copyright (C) 1987, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC. @@ -99,7 +99,9 @@ extern int offsettable_address_p (int, enum machine_mode, rtx); extern int mode_dependent_address_p (rtx); extern int recog (rtx, rtx, int *); +#ifndef GENERATOR_FILE static inline int recog_memoized (rtx insn); +#endif extern void add_clobbers (rtx, int); extern int added_clobbers_hard_reg_p (int); extern void insn_extract (rtx); @@ -120,6 +122,7 @@ extern rtx peephole2_insns (rtx, rtx, int *); extern int store_data_bypass_p (rtx, rtx); extern int if_test_bypass_p (rtx, rtx); +#ifndef GENERATOR_FILE /* Try recognizing the instruction INSN, and return the code number that results. Remember the code so that repeated calls do not @@ -136,6 +139,7 @@ recog_memoized (rtx insn) INSN_CODE (insn) = recog (PATTERN (insn), insn, 0); return INSN_CODE (insn); } +#endif /* Nonzero means volatile operands are recognized. */ extern int volatile_ok; -- cgit v1.1