diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-01-23 19:22:01 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-01-23 19:22:01 +0000 |
commit | 9fcdd8917caba77d188f6facf1623100318cba43 (patch) | |
tree | e1398ce8b4f5f98a45b8f38df417d486bb273c79 /gcc/recog.h | |
parent | 6d77cdc3aab2d3a3ae6a5bc19db953a53833f5ab (diff) | |
download | gcc-9fcdd8917caba77d188f6facf1623100318cba43.zip gcc-9fcdd8917caba77d188f6facf1623100318cba43.tar.gz gcc-9fcdd8917caba77d188f6facf1623100318cba43.tar.bz2 |
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
Diffstat (limited to 'gcc/recog.h')
-rw-r--r-- | gcc/recog.h | 6 |
1 files changed, 5 insertions, 1 deletions
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; |