From: Richard Earnshaw Date: Wed, 10 Jan 2001 13:54:30 +0000 (+0000) Subject: Temporary fix to work around bug in C++ front end. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=780539075253658c6a5e334bb4abdf2bb3f88469;p=gcc.git Temporary fix to work around bug in C++ front end. * arm.c (arm_init_builtins): Temporarily disable xscale builtins. From-SVN: r38865 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0c0eac0a34..e08813317a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-01-10 Richard Earnshaw + + * arm.c (arm_init_builtins): Temporarily disable xscale builtins. + 2001-01-10 Joseph S. Myers * invoke.texi: Document that -fcond-mismatch isn't supported for diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 4a3436909bb..a2f40c08e0c 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -8789,6 +8789,11 @@ arm_debugger_arg_offset (value, addr) void arm_init_builtins () { +#if 0 + /* The following code is NOT incorrect, but it trips a bug in the C++ + front-end that causes a failure while building libstdc++-v3. When + that bug is fixed, this code can be re-enabled. */ + tree endlink = tree_cons (NULL_TREE, void_type_node, NULL_TREE); tree int_endlink = tree_cons (NULL_TREE, integer_type_node, endlink); tree pchar_type_node = build_pointer_type (char_type_node); @@ -8816,6 +8821,7 @@ arm_init_builtins () def_builtin ("__builtin_prefetch", void_ftype_pchar, ARM_BUILTIN_PREFETCH); } +#endif } /* Expand an expression EXP that calls a built-in function,