Commit 826d817f by Francois-Xavier Coudert Committed by François-Xavier Coudert

spu-c.c (spu_resolve_overloaded_builtin): Don't use define_builtin_std where it's unnecessary.

	* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Don't use
	define_builtin_std where it's unnecessary.
	* config/i386/nto.h (TARGET_OS_CPP_BUILTINS): Likewise.

From-SVN: r165065
parent 32bd8fcf
2010-10-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Don't use
define_builtin_std where it's unnecessary.
* config/i386/nto.h (TARGET_OS_CPP_BUILTINS): Likewise.
2010-10-06 Anatoly Sokolov <aesok@post.ru> 2010-10-06 Anatoly Sokolov <aesok@post.ru>
* doc/tm.texi.in (CLASS_LIKELY_SPILLED_P): Remove documentation. * doc/tm.texi.in (CLASS_LIKELY_SPILLED_P): Remove documentation.
...@@ -27,11 +27,11 @@ along with GCC; see the file COPYING3. If not see ...@@ -27,11 +27,11 @@ along with GCC; see the file COPYING3. If not see
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
do \ do \
{ \ { \
builtin_define_std ("__X86__"); \ builtin_define ("__X86__"); \
builtin_define_std ("__QNXNTO__"); \ builtin_define ("__QNXNTO__"); \
builtin_define_std ("__QNX__"); \ builtin_define ("__QNX__"); \
builtin_define_std ("__ELF__"); \ builtin_define ("__ELF__"); \
builtin_define_std ("__LITTLEENDIAN__");\ builtin_define ("__LITTLEENDIAN__"); \
builtin_assert ("system=qnx"); \ builtin_assert ("system=qnx"); \
builtin_assert ("system=qnxnto"); \ builtin_assert ("system=qnxnto"); \
builtin_assert ("system=nto"); \ builtin_assert ("system=nto"); \
......
...@@ -188,19 +188,19 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args) ...@@ -188,19 +188,19 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args)
void void
spu_cpu_cpp_builtins (struct cpp_reader *pfile) spu_cpu_cpp_builtins (struct cpp_reader *pfile)
{ {
builtin_define_std ("__SPU__"); cpp_define (pfile, "__SPU__");
cpp_assert (pfile, "cpu=spu"); cpp_assert (pfile, "cpu=spu");
cpp_assert (pfile, "machine=spu"); cpp_assert (pfile, "machine=spu");
if (spu_arch == PROCESSOR_CELLEDP) if (spu_arch == PROCESSOR_CELLEDP)
builtin_define_std ("__SPU_EDP__"); cpp_define (pfile, "__SPU_EDP__");
builtin_define_std ("__vector=__attribute__((__spu_vector__))"); cpp_define (pfile, "__vector=__attribute__((__spu_vector__))");
switch (spu_ea_model) switch (spu_ea_model)
{ {
case 32: case 32:
builtin_define_std ("__EA32__"); cpp_define (pfile, "__EA32__");
break; break;
case 64: case 64:
builtin_define_std ("__EA64__"); cpp_define (pfile, "__EA64__");
break; break;
default: default:
gcc_unreachable (); gcc_unreachable ();
......
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