Commit 7c757aa4 by Franz Sirl Committed by Franz Sirl

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
parent 2629a114
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>.
......
/* 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
......
/* 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" } */
......
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