darwin-abi-3.c: New file.

2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
	    Andrew Pinski <pinskia@physics.uc.edu>

	* gcc.target/powerpc/darwin-abi-3.c: New file.
	* gcc.target/powerpc/darwin-abi-4.c: Likewise.
	* gcc.target/powerpc/darwin-abi-5.c: Likewise.
	* gcc.target/powerpc/darwin-abi-6.c: Likewise.
	* gcc.target/powerpc/darwin-abi-7.c: Likewise.
	* gcc.target/powerpc/darwin-abi-8.c: Likewise.
	* gcc.target/powerpc/darwin-abi-9.c: Likewise.
	* gcc.target/powerpc/darwin-abi-10.c: Likewise.
	* gcc.target/powerpc/darwin-abi-11.c: Likewise.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>

From-SVN: r109223
This commit is contained in:
Andreas Tobler 2006-01-01 17:36:56 +01:00 committed by Andreas Tobler
parent 07614db8e4
commit 893ea23201
10 changed files with 203 additions and 0 deletions

View File

@ -1,3 +1,16 @@
2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
Andrew Pinski <pinskia@physics.uc.edu>
* gcc.target/powerpc/darwin-abi-3.c: New file.
* gcc.target/powerpc/darwin-abi-4.c: Likewise.
* gcc.target/powerpc/darwin-abi-5.c: Likewise.
* gcc.target/powerpc/darwin-abi-6.c: Likewise.
* gcc.target/powerpc/darwin-abi-7.c: Likewise.
* gcc.target/powerpc/darwin-abi-8.c: Likewise.
* gcc.target/powerpc/darwin-abi-9.c: Likewise.
* gcc.target/powerpc/darwin-abi-10.c: Likewise.
* gcc.target/powerpc/darwin-abi-11.c: Likewise.
2006-01-01 Daniel Berlin <dberlin@dberlin.org>
* gcc.dg/tree-ssa/loadpre1.c: New;

View File

@ -0,0 +1,26 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
/* { dg-options "-Wno-long-long" } */
struct b
{
long long t;
int i;
};
struct c
{
double d;
int i;
};
struct n
{
long long ll;
int tt;
struct c d;
struct b h;
int t;
};
int f[sizeof(struct n)!=48?-1:1];

View File

@ -0,0 +1,32 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
/* { dg-options "-Wno-long-long" } */
struct A
{
long long a;
unsigned char b;
};
struct D
{
unsigned char y;
struct A x;
unsigned char z;
};
struct E
{
long long d;
unsigned char e;
};
struct y
{
struct A b2;
struct D b3;
struct E b4;
};
int f[sizeof(struct y)!=56?-1:1];

View File

@ -0,0 +1,11 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
/* { dg-options "-Wno-long-long" } */
struct f
{
int i;
long long ll;
};
int f[sizeof(struct f)!=12?-1:1];

View File

@ -0,0 +1,10 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-Wno-long-long" } */
struct f
{
long long ll;
int i;
};
int f[sizeof(struct f)!=16?-1:1];

View File

@ -0,0 +1,30 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-Wno-long-long" } */
struct A
{
long long a;
unsigned char b;
};
struct B
{
struct A x;
unsigned char z;
};
struct C
{
long d;
unsigned char e;
};
struct z
{
struct A b2;
struct B b3;
struct C b4;
};
int f[sizeof(struct z)!=48?-1:1];

View File

@ -0,0 +1,20 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
/* { dg-options "-Wno-long-long" } */
struct a
{
int tt;
long long t;
int i;
};
struct g
{
int tt;
struct a d;
int t;
};
int f[sizeof(struct g)!=24?-1:1];

View File

@ -0,0 +1,18 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
/* { dg-options "-Wno-long-long" } */
struct b
{
long long t;
int i;
};
struct h
{
int tt;
struct b d;
int t;
};
int f[sizeof(struct h)!=24?-1:1];

View File

@ -0,0 +1,18 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
struct c
{
double d;
int i;
};
struct j
{
int tt;
struct c d;
int t;
};
int f[sizeof(struct j)!=24?-1:1];

View File

@ -0,0 +1,25 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-xfail-if "" { powerpc*-*-darwin* } } */
/* { dg-options "-Wno-long-long" } */
struct b
{
long long t;
int i;
};
struct l
{
int i;
double d;
};
struct k
{
int tt;
struct l d;
struct b h;
int t;
};
int f[sizeof(struct k)!=36?-1:1];