Commit f7507b7c by Rainer Orth Committed by Rainer Orth

Provide SPARCv9 MAXALIGN in gcc.target/sparc/attr-aligned.c (PR testsuite/88208)

	PR testsuite/88208
	* gcc.target/sparc/attr-aligned.c (MAXALIGN) [__sparcv9 ||
	__arch64__]: Define.

From-SVN: r266825
parent 7c4e51c5
2018-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/88208
* gcc.target/sparc/attr-aligned.c (MAXALIGN) [__sparcv9 ||
__arch64__]: Define.
2018-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/sparc/20181129-1.c: Compile with -std=c99.
* gcc.target/sparc/20181129-2.c: Likewise.
......
......@@ -10,7 +10,11 @@
#define HAS_ALIGN(f, n) __builtin_has_attribute (f, __aligned__ (n))
#define MINALIGN(N) ((N) < 4 ? 4 : (N))
#if defined(__sparcv9) || defined(__arch64__)
#define MAXALIGN 16
#else
#define MAXALIGN 8
#endif
/* No alignment specified. */
void f (void) { }
......
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