Commit 3ee7be4c by H.J. Lu Committed by H.J. Lu

Check TARGET_LP64 for SIZE_TYPE/PTRDIFF_TYPE.

2011-07-31  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/x86-64.h (SIZE_TYPE): Check TARGET_LP64 instead
	of TARGET_64BIT.
	(PTRDIFF_TYPE): Likewise.

From-SVN: r176981
parent deb1f617
2011-07-31 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/x86-64.h (SIZE_TYPE): Check TARGET_LP64 instead
of TARGET_64BIT.
(PTRDIFF_TYPE): Likewise.
2011-07-31 Uros Bizjak <ubizjak@gmail.com>
PR target/49920
......
......@@ -38,10 +38,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define MCOUNT_NAME "mcount"
#undef SIZE_TYPE
#define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "unsigned int")
#define SIZE_TYPE (TARGET_LP64 ? "long unsigned int" : "unsigned int")
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE (TARGET_64BIT ? "long int" : "int")
#define PTRDIFF_TYPE (TARGET_LP64 ? "long int" : "int")
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"
......
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