pr23943.c (size_t): Use compatible type-definition for LLP64 targets.

* gcc.target/i386/pr23943.c (size_t): Use compatible type-definition
        for LLP64 targets.
        * gcc.target/i386/pr38988.c: Likewise.

From-SVN: r188916
This commit is contained in:
Kai Tietz 2012-06-24 14:09:22 +02:00 committed by Kai Tietz
parent 636da8269e
commit 85bf214b3f
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-06-24 Kai Tietz <ktietz@redhat.com>
* gcc.target/i386/pr23943.c (size_t): Use compatible type-definition
for LLP64 targets.
* gcc.target/i386/pr38988.c: Likewise.
2012-06-22 Janus Weil <janus@gcc.gnu.org>
PR fortran/47710

View File

@ -4,7 +4,7 @@
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC" } */
typedef long unsigned int size_t;
__extension__ typedef __SIZE_TYPE__ size_t;
extern size_t strlen (__const char *__s)
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));

View File

@ -3,7 +3,7 @@
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fpic -mcmodel=large" } */
typedef long unsigned int size_t;
__extension__ typedef __SIZE_TYPE__ size_t;
typedef void (*func_ptr) (void);
static func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) };