Commit 78053907 by Richard Earnshaw Committed by Richard Earnshaw

Temporary fix to work around bug in C++ front end.

* arm.c (arm_init_builtins): Temporarily disable xscale builtins.

From-SVN: r38865
parent a7537031
2001-01-10 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_init_builtins): Temporarily disable xscale builtins.
2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
* invoke.texi: Document that -fcond-mismatch isn't supported for
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment