Commit 99dcfb5f by Paul Koning Committed by Paul Koning

Fix test case failures for pdp11 target.

	* gcc.c-torture/compile/20151204.c: Skip if pdp11.
	* gcc.c-torture/compile/pr55921.c: Ditto.
	* gcc.c-torture/compile/pr60655-1.c: Ditto.
	* gcc.c-torture/compile/vector-align-1.c: Add max alignment if pdp11.

From-SVN: r260781
parent 3983063e
2018-05-25 Paul Koning <ni1d@arrl.net>
* gcc.c-torture/compile/20151204.c: Skip if pdp11.
* gcc.c-torture/compile/pr55921.c: Ditto.
* gcc.c-torture/compile/pr60655-1.c: Ditto.
* gcc.c-torture/compile/vector-align-1.c: Add max alignment if pdp11.
2018-05-25 Jakub Jelinek <jakub@redhat.com>
PR target/85832
......
/* { dg-skip-if "Array too big" { "avr-*-*" } } */
/* { dg-skip-if "Array too big" { "avr-*-*" "pdp11-*-*" } } */
typedef __SIZE_TYPE__ size_t;
......
/* PR tree-optimization/55921 */
/* { dg-skip-if "Not enough registers" { "pdp11-*-*" } } */
typedef union
{
......
/* { dg-options "-fdata-sections" { target { { ! { { hppa*-*-hpux* } && { ! lp64 } } } && { ! nvptx-*-* } } } } */
/* { dg-options "-fdata-sections" { target { { ! { { hppa*-*-hpux* } && { ! lp64 } } } && { ! "nvptx-*-* pdp11-*-*" } } } } */
typedef unsigned char unit;
typedef unit *unitptr;
......
......@@ -2,7 +2,11 @@
/* If some target has a Max alignment less than 128, please create
a #ifdef around the alignment and add your alignment. */
#ifdef __pdp11__
#define alignment 2
#else
#define alignment 128
#endif
char x __attribute__((aligned(alignment),vector_size(2)));
......
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