summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-09 22:48:36 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-09 22:48:36 +0000
commit1ed9d5f55c50ce28a74a0736dd04de546b1b43ad (patch)
tree8450e93598f1089a0cde24353bf2a3ffbbdee87e /gcc/target.h
parentd4337297a529ff0f290714d7ebfb88fbe42f917e (diff)
downloadgcc-1ed9d5f55c50ce28a74a0736dd04de546b1b43ad.tar.gz
* Makefile.in: Update.
* c-common.c (flag_iso, flag_undef, cb_register_builtins, builtin_define_std): New. (c_common_init): Register CPP builtins callback. * c-common.h (flag_iso, flag_undef): New. * c-decl.c (c_decode_option): Set flag_iso and flag_undef. * c-lex.c: Don't include target.h. (cb_register_builtins): Move to c-common.c. (init_c_lex): Don't register hook here. * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New. (cpp_define, cpp_assert): Remove. * gcc.c (cc1_options): Pass -undef to front end. * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove. (TARGET_INITIALIZER): Update. * target.h (struct cpp_reader): Don't predeclare. (struct gcc_target): Remove cpp builtin hook. * tree.c (default_register_cpp_builtins): Remove. cp: * cp-tree.h (flag_ansi): Remove. * decl2.c (flag_ansi): Remove. (cxx_decode_option): Set flag_iso and flag_undef. doc: * tm.texi: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53349 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/target.h b/gcc/target.h
index a21c5126b79..1f294126ae9 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -44,8 +44,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
to gradually reduce the amount of conditional compilation that is
scattered throughout GCC. */
-struct cpp_reader;
-
struct gcc_target
{
/* Functions that output assembler for the target. */
@@ -200,8 +198,6 @@ struct gcc_target
can be inlined despite its machine attributes, false otherwise. */
bool (* function_attribute_inlinable_p) PARAMS ((tree fndecl));
- void (* register_cpp_builtins) PARAMS ((struct cpp_reader *));
-
/* Return true if bitfields in RECORD_TYPE should follow the
Microsoft Visual C++ bitfield layout rules. */
bool (* ms_bitfield_layout_p) PARAMS ((tree record_type));