Commit df9e7ffb by Andreas Krebbel Committed by Andreas Krebbel

S/390: Add SIZE_TYPE comment.

gcc/ChangeLog:

2017-02-06  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/linux.h(SIZE_TYPE): Add comment.

From-SVN: r245204
parent f192030d
2017-02-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/linux.h(SIZE_TYPE): Add comment.
2017-02-06 Julian Brown <julian@codesourcery.com> 2017-02-06 Julian Brown <julian@codesourcery.com>
Naveen H.S <Naveen.Hurugalawadi@cavium.com> Naveen H.S <Naveen.Hurugalawadi@cavium.com>
Virendra Pathak <virendra.pathak@broadcom.com> Virendra Pathak <virendra.pathak@broadcom.com>
......
...@@ -24,9 +24,12 @@ along with GCC; see the file COPYING3. If not see ...@@ -24,9 +24,12 @@ along with GCC; see the file COPYING3. If not see
/* Target specific type definitions. */ /* Target specific type definitions. */
/* ??? Do we really want long as size_t on 31-bit? */ /* For 31 bit our size type differs from most other targets (where it
is "unsigned int"). The difference tends to cause trouble e.g.:
Glibc BZ #16712, GCC BZ #79358 but cannot be changed due to ABI
issues. */
#undef SIZE_TYPE #undef SIZE_TYPE
#define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "long unsigned int") #define SIZE_TYPE "long unsigned int"
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE (TARGET_64BIT ? "long int" : "int") #define PTRDIFF_TYPE (TARGET_64BIT ? "long int" : "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