pack-test-1.c: Compile on powerpc*-*-eabi* too.

2000-12-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.dg/pack-test-1.c: Compile on powerpc*-*-eabi* too.
	* gcc.dg/pack-test-2.c: Likewise.

From-SVN: r38232
This commit is contained in:
Franz Sirl 2000-12-13 20:16:33 +00:00 committed by Franz Sirl
parent 2629a11424
commit 7c757aa486
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-12-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/pack-test-1.c: Compile on powerpc*-*-eabi* too.
* gcc.dg/pack-test-2.c: Likewise.
2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
Tests by Zack Weinberg <zackw@stanford.edu>.

View File

@ -1,7 +1,7 @@
/* Test semantics of #pragma pack.
Contributed by Mike Coleman <mcoleman2@kc.rr.com> */
/* { dg-do compile { target *-*-linux* *-*-cygwin* } } */
/* { dg-do compile { target *-*-linux* *-*-cygwin* powerpc*-*-eabi* } } */
/* We only test the alignment of char, short, and int, because these
are the only ones that are pretty certain to be the same across

View File

@ -1,7 +1,7 @@
/* Tests for syntax checking of #pragma pack.
Contributed by Mike Coleman <mcoleman2@kc.rr.com> */
/* { dg-do compile { target *-*-linux* *-*-cygwin* } } */
/* { dg-do compile { target *-*-linux* *-*-cygwin* powerpc*-*-eabi* } } */
#pragma pack(push) /* { dg-error "malformed" } */
#pragma pack(pop) /* { dg-error "without matching" } */