Patchwork Disable no-section-anchors-vect-68.C for aarch64 tiny memory model.

login
register
mail settings
Submitter Marcus Shawcroft
Date May 31, 2013, 11:52 a.m.
Message ID <51A88F0A.2090809@arm.com>
Download mbox | patch
Permalink /patch/247931/
State New
Headers show

Comments

Marcus Shawcroft - May 31, 2013, 11:52 a.m.
The vect/no-section-anchors-vect-68.C test case results in a binary that 
is tool large for the aarch64 tiny memory model.  This patch disables 
the test case for that memory model.

/Marcus

2013-05-31  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* gcc.dg/vect/no-section-anchors-vect-68.c:
	Add dg-skip-if aarch64_tiny.
Richard Earnshaw - June 3, 2013, 2:37 p.m.
On 31/05/13 12:52, Marcus Shawcroft wrote:
> The vect/no-section-anchors-vect-68.C test case results in a binary that
> is tool large for the aarch64 tiny memory model.  This patch disables
> the test case for that memory model.
>
> /Marcus
>
> 2013-05-31  Marcus Shawcroft  <marcus.shawcroft@arm.com>
>
> 	* gcc.dg/vect/no-section-anchors-vect-68.c:
> 	Add dg-skip-if aarch64_tiny.
>
>
> gcc-disable-tiny-test-1.diff
>
>
> diff --git a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
> index 4b61305..7a77651 100644
> --- a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
> +++ b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
> @@ -1,4 +1,6 @@
> -/* { dg-require-effective-target vect_int } */
> +/* { dg-require-effective-target vect_int }
> +   { dg-skip-if "AArch64 tiny code model does not support programs larger than 1MiB" {aarch64_tiny} {"*"} {""} }
> + */
>
>   #include <stdarg.h>
>   #include "tree-vect.h"
>

OK.

R.

Patch

diff --git a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
index 4b61305..7a77651 100644
--- a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
+++ b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-68.c
@@ -1,4 +1,6 @@ 
-/* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_int }
+   { dg-skip-if "AArch64 tiny code model does not support programs larger than 1MiB" {aarch64_tiny} {"*"} {""} }
+ */
 
 #include <stdarg.h>
 #include "tree-vect.h"