Commit 71cfb0cf by James Greenhalgh Committed by James Greenhalgh

[AArch64 testsuite] Make vect-abs.c C99 compliant

	* gcc.target/aarch64/vect-abs.c (dg-options): Add -std=c99.
	(LONG_LONG): Use LLONG.
	(set_rvector_long): Explicitly return void.
	(set_vector_long): Likewise.
	(check_vector_long): Likewise.

From-SVN: r208788
parent 55af811b
2014-03-24 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.target/aarch64/vect-abs.c (dg-options): Add -std=c99.
(LONG_LONG): Use LLONG.
(set_rvector_long): Explicitly return void.
(set_vector_long): Likewise.
(check_vector_long): Likewise.
2014-03-24 Marek Polacek <polacek@redhat.com>
* c-c++-common/ubsan/div-by-zero-4.c: Don't include limits.h. Define
......
/* { dg-do run } */
/* { dg-options "-O3" } */
/* { dg-options "-O3 -std=c99" } */
#include "limits.h"
......@@ -37,8 +37,9 @@ extern void abort (void);
SET_RVEC (8, SCHAR)
SET_RVEC (16, SHRT)
SET_RVEC (32, INT)
SET_RVEC (64, LONG_LONG)
SET_RVEC (64, LLONG)
void
set_rvector_long (pRLONG a)
{
int i;
......@@ -49,8 +50,9 @@ set_rvector_long (pRLONG a)
SET_VEC (8, SCHAR)
SET_VEC (16, SHRT)
SET_VEC (32, INT)
SET_VEC (64, LONG_LONG)
SET_VEC (64, LLONG)
void
set_vector_long (long *__restrict__ a)
{
long i;
......@@ -63,6 +65,7 @@ CHECK_VEC (16)
CHECK_VEC (32)
CHECK_VEC (64)
void
check_vector_long (long *__restrict__ a, long *__restrict__ b)
{
long i;
......
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