[testsuite] Require int32 target support in sso tests

Message ID 87bn7wa8rh.fsf@jaguar.corp.atmel.com
State New
Headers show

Commit Message

Senthil Kumar Selvaraj Feb. 4, 2016, 1:46 p.m.
Hi,

  When running the regression testsuite for the AVR target, I noticed a
  bunch of sso tests failing - turns out they assume sizeof(int) == 4.
  This patch marks them UNSUPPORTED for targets that don't match that
  assumption, by requiring effective-target int32.

  A few tests still run and fail because they expect IO support to be
  available on test execution - is there an effective-target option
  to specify lack of IO? I checked lib/target-supports.exp, and the
  closest I could find was check_effective_target_hw, but it's possible
  some simulators support printing to the host machine.

  If this patch is ok, could someone commit please? I don't have commit
  access.

Regards
Senthil

gcc/testsuite/ChangeLog

2016-02-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

  * gcc/testsuite/gcc.dg/sso/p1.c: Add dg-require-effective-target int32.
  * gcc/testsuite/gcc.dg/sso/p2.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/p3.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/p5.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/p6.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/p7.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/p8.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q1.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q2.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q3.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q5.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q6.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q7.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/q8.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/r3.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/r5.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/r6.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/r7.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/r8.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/s3.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/s5.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/s6.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/s7.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/s8.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t1.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t2.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t3.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t5.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t6.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t7.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/t8.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/u5.c: Likewise.
  * gcc/testsuite/gcc.dg/sso/u6.c: Likewise.

Comments

Mike Stump Feb. 4, 2016, 2:53 p.m. | #1
On Feb 4, 2016, at 5:46 AM, Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> wrote:
>  When running the regression testsuite for the AVR target, I noticed a
>  bunch of sso tests failing

> If this patch is ok, could someone commit please?

The patch is Ok.

I don’t recall a target supports for I/O.  So, I/O is incredible useful.  If you have a simulator, you should take a moment to wire up some IO.  Worst case, you can grab some random instruction, (say svc, trap), and wire in a byte output routine.  Should be just 50 lines of code or so.  This is handy for debugging code on the simulator even if the actual hardware has no way to do I/O.

You should be able to add a target support for io, should only be 10 lines of code or so.


I noticed:

spawn mach-run ./p1.exe^M
My_R1    : 78 56 34 12^M
My_R2    : 12 34 56 78^M
Local_R1 : 78 56 34 12^M
Local_R2 : 12 34 56 78^M
Local_R1 : 78 56 34 12^M
Local_R2 : 12 34 56 78^M
Local_R1 : 78 56 34 12^M
Local_R2 : 12 34 56 78^M
*** EXIT code 0^M
PASS: gcc.dg/sso/p1.c   -O0  execution test
FAIL: gcc.dg/sso/p1.c   -O0  output pattern test, is My_R1    : 78 56 34 12^M
My_R2    : 12 34 56 78^M
Local_R1 : 78 56 34 12^M
Local_R2 : 12 34 56 78^M
Local_R1 : 78 56 34 12^M
Local_R2 : 12 34 56 78^M
Local_R1 : 78 56 34 12^M
Local_R2 : 12 34 56 78, should match My_R1    : 78 56 34 12.*
My_R2    : 12 34 56 78.*
Local_R1 : 78 56 34 12.*
Local_R2 : 12 34 56 78.*
Local_R1 : 78 56 34 12.*
Local_R2 : 12 34 56 78.*
Local_R1 : 78 56 34 12.*
Local_R2 : 12 34 56 78.*

Anyone have a sense of how this is supposed to work and what is wrong?  The lines appear to be the same to me.  :-(

The only thing that might throw it would be the *** EXIT code 0, but, it would seem that wasn’t in the output above.
Eric Botcazou Feb. 5, 2016, 9:03 a.m. | #2
> Anyone have a sense of how this is supposed to work and what is wrong?  The
> lines appear to be the same to me.  :-(

You probably need to tweak the regexps again to make it accept the ^M.
Eric Botcazou Feb. 5, 2016, 9:05 a.m. | #3
> 2016-02-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
> 
>   * gcc/testsuite/gcc.dg/sso/p1.c: Add dg-require-effective-target int32.
>   * gcc/testsuite/gcc.dg/sso/p2.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q1.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q2.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t1.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t2.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/u5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/u6.c: Likewise.

I'd rather patch the driver (gcc.dg/sso/sso.exp) itself.
Senthil Kumar Selvaraj Feb. 22, 2016, 8:41 a.m. | #4
Mike Stump okayed the patch
(https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00321.html).

Could someone commit it for me please? I don't have commit access.

Regards
Senthil

Senthil Kumar Selvaraj writes:

> Hi,
>
>   When running the regression testsuite for the AVR target, I noticed a
>   bunch of sso tests failing - turns out they assume sizeof(int) == 4.
>   This patch marks them UNSUPPORTED for targets that don't match that
>   assumption, by requiring effective-target int32.
>
>   A few tests still run and fail because they expect IO support to be
>   available on test execution - is there an effective-target option
>   to specify lack of IO? I checked lib/target-supports.exp, and the
>   closest I could find was check_effective_target_hw, but it's possible
>   some simulators support printing to the host machine.
>
>   If this patch is ok, could someone commit please? I don't have commit
>   access.
>
> Regards
> Senthil
>
> gcc/testsuite/ChangeLog
>
> 2016-02-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
>
>   * gcc/testsuite/gcc.dg/sso/p1.c: Add dg-require-effective-target int32.
>   * gcc/testsuite/gcc.dg/sso/p2.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/p8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q1.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q2.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/q8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/r8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/s8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t1.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t2.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t3.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t6.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t7.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/t8.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/u5.c: Likewise.
>   * gcc/testsuite/gcc.dg/sso/u6.c: Likewise.
>
> diff --git gcc/testsuite/gcc.dg/sso/p1.c gcc/testsuite/gcc.dg/sso/p1.c
> index bf14ffe..ca2f363 100644
> --- gcc/testsuite/gcc.dg/sso/p1.c
> +++ gcc/testsuite/gcc.dg/sso/p1.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/p2.c gcc/testsuite/gcc.dg/sso/p2.c
> index 2d92946..906d60b 100644
> --- gcc/testsuite/gcc.dg/sso/p2.c
> +++ gcc/testsuite/gcc.dg/sso/p2.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/p3.c gcc/testsuite/gcc.dg/sso/p3.c
> index fb71596..2ee8ab0 100644
> --- gcc/testsuite/gcc.dg/sso/p3.c
> +++ gcc/testsuite/gcc.dg/sso/p3.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/p5.c gcc/testsuite/gcc.dg/sso/p5.c
> index fc8b7e1..b13dc0a 100644
> --- gcc/testsuite/gcc.dg/sso/p5.c
> +++ gcc/testsuite/gcc.dg/sso/p5.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/p6.c gcc/testsuite/gcc.dg/sso/p6.c
> index 90805a7..94b5f30 100644
> --- gcc/testsuite/gcc.dg/sso/p6.c
> +++ gcc/testsuite/gcc.dg/sso/p6.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/p7.c gcc/testsuite/gcc.dg/sso/p7.c
> index e347ecf..afc3167 100644
> --- gcc/testsuite/gcc.dg/sso/p7.c
> +++ gcc/testsuite/gcc.dg/sso/p7.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/p8.c gcc/testsuite/gcc.dg/sso/p8.c
> index d66c7da..8c1ed2c 100644
> --- gcc/testsuite/gcc.dg/sso/p8.c
> +++ gcc/testsuite/gcc.dg/sso/p8.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q1.c gcc/testsuite/gcc.dg/sso/q1.c
> index f61398b..08efa63 100644
> --- gcc/testsuite/gcc.dg/sso/q1.c
> +++ gcc/testsuite/gcc.dg/sso/q1.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q2.c gcc/testsuite/gcc.dg/sso/q2.c
> index 35e2839..9e2de92 100644
> --- gcc/testsuite/gcc.dg/sso/q2.c
> +++ gcc/testsuite/gcc.dg/sso/q2.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q3.c gcc/testsuite/gcc.dg/sso/q3.c
> index 31d395a..c4fd1d0 100644
> --- gcc/testsuite/gcc.dg/sso/q3.c
> +++ gcc/testsuite/gcc.dg/sso/q3.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q5.c gcc/testsuite/gcc.dg/sso/q5.c
> index 678c3d3..5024f68 100644
> --- gcc/testsuite/gcc.dg/sso/q5.c
> +++ gcc/testsuite/gcc.dg/sso/q5.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q6.c gcc/testsuite/gcc.dg/sso/q6.c
> index f69bad0..d23836e 100644
> --- gcc/testsuite/gcc.dg/sso/q6.c
> +++ gcc/testsuite/gcc.dg/sso/q6.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q7.c gcc/testsuite/gcc.dg/sso/q7.c
> index 0c3dbc5..3fa70c4 100644
> --- gcc/testsuite/gcc.dg/sso/q7.c
> +++ gcc/testsuite/gcc.dg/sso/q7.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/q8.c gcc/testsuite/gcc.dg/sso/q8.c
> index 3846cb1..d1f27a2 100644
> --- gcc/testsuite/gcc.dg/sso/q8.c
> +++ gcc/testsuite/gcc.dg/sso/q8.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/r3.c gcc/testsuite/gcc.dg/sso/r3.c
> index b9a0cc4..ef595ba 100644
> --- gcc/testsuite/gcc.dg/sso/r3.c
> +++ gcc/testsuite/gcc.dg/sso/r3.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/r5.c gcc/testsuite/gcc.dg/sso/r5.c
> index 1323325..1b0f46a 100644
> --- gcc/testsuite/gcc.dg/sso/r5.c
> +++ gcc/testsuite/gcc.dg/sso/r5.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/r6.c gcc/testsuite/gcc.dg/sso/r6.c
> index 452a106..355c313 100644
> --- gcc/testsuite/gcc.dg/sso/r6.c
> +++ gcc/testsuite/gcc.dg/sso/r6.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/r7.c gcc/testsuite/gcc.dg/sso/r7.c
> index 3c46e61..2504591 100644
> --- gcc/testsuite/gcc.dg/sso/r7.c
> +++ gcc/testsuite/gcc.dg/sso/r7.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/r8.c gcc/testsuite/gcc.dg/sso/r8.c
> index 0ea3a61..90f5bdb 100644
> --- gcc/testsuite/gcc.dg/sso/r8.c
> +++ gcc/testsuite/gcc.dg/sso/r8.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/s3.c gcc/testsuite/gcc.dg/sso/s3.c
> index 6a62937..d9eab84 100644
> --- gcc/testsuite/gcc.dg/sso/s3.c
> +++ gcc/testsuite/gcc.dg/sso/s3.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/s5.c gcc/testsuite/gcc.dg/sso/s5.c
> index f29f634..1c8bb7e 100644
> --- gcc/testsuite/gcc.dg/sso/s5.c
> +++ gcc/testsuite/gcc.dg/sso/s5.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/s6.c gcc/testsuite/gcc.dg/sso/s6.c
> index a1d0494..bf213ec 100644
> --- gcc/testsuite/gcc.dg/sso/s6.c
> +++ gcc/testsuite/gcc.dg/sso/s6.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/s7.c gcc/testsuite/gcc.dg/sso/s7.c
> index 37d07c7..2445bed 100644
> --- gcc/testsuite/gcc.dg/sso/s7.c
> +++ gcc/testsuite/gcc.dg/sso/s7.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/s8.c gcc/testsuite/gcc.dg/sso/s8.c
> index 5ff9c36..2956999 100644
> --- gcc/testsuite/gcc.dg/sso/s8.c
> +++ gcc/testsuite/gcc.dg/sso/s8.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t1.c gcc/testsuite/gcc.dg/sso/t1.c
> index 6f4a587..8f12957 100644
> --- gcc/testsuite/gcc.dg/sso/t1.c
> +++ gcc/testsuite/gcc.dg/sso/t1.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t2.c gcc/testsuite/gcc.dg/sso/t2.c
> index 9d9d2af..cf8f1ad 100644
> --- gcc/testsuite/gcc.dg/sso/t2.c
> +++ gcc/testsuite/gcc.dg/sso/t2.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t3.c gcc/testsuite/gcc.dg/sso/t3.c
> index 5a5a54f..a125fc5 100644
> --- gcc/testsuite/gcc.dg/sso/t3.c
> +++ gcc/testsuite/gcc.dg/sso/t3.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t5.c gcc/testsuite/gcc.dg/sso/t5.c
> index 1d506db..86e0de8 100644
> --- gcc/testsuite/gcc.dg/sso/t5.c
> +++ gcc/testsuite/gcc.dg/sso/t5.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t6.c gcc/testsuite/gcc.dg/sso/t6.c
> index 018f9bd..911479e 100644
> --- gcc/testsuite/gcc.dg/sso/t6.c
> +++ gcc/testsuite/gcc.dg/sso/t6.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t7.c gcc/testsuite/gcc.dg/sso/t7.c
> index 6e6443b..f3fa9b1 100644
> --- gcc/testsuite/gcc.dg/sso/t7.c
> +++ gcc/testsuite/gcc.dg/sso/t7.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/t8.c gcc/testsuite/gcc.dg/sso/t8.c
> index 8fbb817..557a525 100644
> --- gcc/testsuite/gcc.dg/sso/t8.c
> +++ gcc/testsuite/gcc.dg/sso/t8.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/u5.c gcc/testsuite/gcc.dg/sso/u5.c
> index 8b9d097..d66cb0c 100644
> --- gcc/testsuite/gcc.dg/sso/u5.c
> +++ gcc/testsuite/gcc.dg/sso/u5.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>  
> diff --git gcc/testsuite/gcc.dg/sso/u6.c gcc/testsuite/gcc.dg/sso/u6.c
> index 4b2ca1c..b590890 100644
> --- gcc/testsuite/gcc.dg/sso/u6.c
> +++ gcc/testsuite/gcc.dg/sso/u6.c
> @@ -1,4 +1,5 @@
>  /* { dg-do run } */
> +/* { dg-require-effective-target int32 } */
>  
>  #include <stdio.h>
>

Patch

diff --git gcc/testsuite/gcc.dg/sso/p1.c gcc/testsuite/gcc.dg/sso/p1.c
index bf14ffe..ca2f363 100644
--- gcc/testsuite/gcc.dg/sso/p1.c
+++ gcc/testsuite/gcc.dg/sso/p1.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/p2.c gcc/testsuite/gcc.dg/sso/p2.c
index 2d92946..906d60b 100644
--- gcc/testsuite/gcc.dg/sso/p2.c
+++ gcc/testsuite/gcc.dg/sso/p2.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/p3.c gcc/testsuite/gcc.dg/sso/p3.c
index fb71596..2ee8ab0 100644
--- gcc/testsuite/gcc.dg/sso/p3.c
+++ gcc/testsuite/gcc.dg/sso/p3.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/p5.c gcc/testsuite/gcc.dg/sso/p5.c
index fc8b7e1..b13dc0a 100644
--- gcc/testsuite/gcc.dg/sso/p5.c
+++ gcc/testsuite/gcc.dg/sso/p5.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/p6.c gcc/testsuite/gcc.dg/sso/p6.c
index 90805a7..94b5f30 100644
--- gcc/testsuite/gcc.dg/sso/p6.c
+++ gcc/testsuite/gcc.dg/sso/p6.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/p7.c gcc/testsuite/gcc.dg/sso/p7.c
index e347ecf..afc3167 100644
--- gcc/testsuite/gcc.dg/sso/p7.c
+++ gcc/testsuite/gcc.dg/sso/p7.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/p8.c gcc/testsuite/gcc.dg/sso/p8.c
index d66c7da..8c1ed2c 100644
--- gcc/testsuite/gcc.dg/sso/p8.c
+++ gcc/testsuite/gcc.dg/sso/p8.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q1.c gcc/testsuite/gcc.dg/sso/q1.c
index f61398b..08efa63 100644
--- gcc/testsuite/gcc.dg/sso/q1.c
+++ gcc/testsuite/gcc.dg/sso/q1.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q2.c gcc/testsuite/gcc.dg/sso/q2.c
index 35e2839..9e2de92 100644
--- gcc/testsuite/gcc.dg/sso/q2.c
+++ gcc/testsuite/gcc.dg/sso/q2.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q3.c gcc/testsuite/gcc.dg/sso/q3.c
index 31d395a..c4fd1d0 100644
--- gcc/testsuite/gcc.dg/sso/q3.c
+++ gcc/testsuite/gcc.dg/sso/q3.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q5.c gcc/testsuite/gcc.dg/sso/q5.c
index 678c3d3..5024f68 100644
--- gcc/testsuite/gcc.dg/sso/q5.c
+++ gcc/testsuite/gcc.dg/sso/q5.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q6.c gcc/testsuite/gcc.dg/sso/q6.c
index f69bad0..d23836e 100644
--- gcc/testsuite/gcc.dg/sso/q6.c
+++ gcc/testsuite/gcc.dg/sso/q6.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q7.c gcc/testsuite/gcc.dg/sso/q7.c
index 0c3dbc5..3fa70c4 100644
--- gcc/testsuite/gcc.dg/sso/q7.c
+++ gcc/testsuite/gcc.dg/sso/q7.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/q8.c gcc/testsuite/gcc.dg/sso/q8.c
index 3846cb1..d1f27a2 100644
--- gcc/testsuite/gcc.dg/sso/q8.c
+++ gcc/testsuite/gcc.dg/sso/q8.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/r3.c gcc/testsuite/gcc.dg/sso/r3.c
index b9a0cc4..ef595ba 100644
--- gcc/testsuite/gcc.dg/sso/r3.c
+++ gcc/testsuite/gcc.dg/sso/r3.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/r5.c gcc/testsuite/gcc.dg/sso/r5.c
index 1323325..1b0f46a 100644
--- gcc/testsuite/gcc.dg/sso/r5.c
+++ gcc/testsuite/gcc.dg/sso/r5.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/r6.c gcc/testsuite/gcc.dg/sso/r6.c
index 452a106..355c313 100644
--- gcc/testsuite/gcc.dg/sso/r6.c
+++ gcc/testsuite/gcc.dg/sso/r6.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/r7.c gcc/testsuite/gcc.dg/sso/r7.c
index 3c46e61..2504591 100644
--- gcc/testsuite/gcc.dg/sso/r7.c
+++ gcc/testsuite/gcc.dg/sso/r7.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/r8.c gcc/testsuite/gcc.dg/sso/r8.c
index 0ea3a61..90f5bdb 100644
--- gcc/testsuite/gcc.dg/sso/r8.c
+++ gcc/testsuite/gcc.dg/sso/r8.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/s3.c gcc/testsuite/gcc.dg/sso/s3.c
index 6a62937..d9eab84 100644
--- gcc/testsuite/gcc.dg/sso/s3.c
+++ gcc/testsuite/gcc.dg/sso/s3.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/s5.c gcc/testsuite/gcc.dg/sso/s5.c
index f29f634..1c8bb7e 100644
--- gcc/testsuite/gcc.dg/sso/s5.c
+++ gcc/testsuite/gcc.dg/sso/s5.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/s6.c gcc/testsuite/gcc.dg/sso/s6.c
index a1d0494..bf213ec 100644
--- gcc/testsuite/gcc.dg/sso/s6.c
+++ gcc/testsuite/gcc.dg/sso/s6.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/s7.c gcc/testsuite/gcc.dg/sso/s7.c
index 37d07c7..2445bed 100644
--- gcc/testsuite/gcc.dg/sso/s7.c
+++ gcc/testsuite/gcc.dg/sso/s7.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/s8.c gcc/testsuite/gcc.dg/sso/s8.c
index 5ff9c36..2956999 100644
--- gcc/testsuite/gcc.dg/sso/s8.c
+++ gcc/testsuite/gcc.dg/sso/s8.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t1.c gcc/testsuite/gcc.dg/sso/t1.c
index 6f4a587..8f12957 100644
--- gcc/testsuite/gcc.dg/sso/t1.c
+++ gcc/testsuite/gcc.dg/sso/t1.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t2.c gcc/testsuite/gcc.dg/sso/t2.c
index 9d9d2af..cf8f1ad 100644
--- gcc/testsuite/gcc.dg/sso/t2.c
+++ gcc/testsuite/gcc.dg/sso/t2.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t3.c gcc/testsuite/gcc.dg/sso/t3.c
index 5a5a54f..a125fc5 100644
--- gcc/testsuite/gcc.dg/sso/t3.c
+++ gcc/testsuite/gcc.dg/sso/t3.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t5.c gcc/testsuite/gcc.dg/sso/t5.c
index 1d506db..86e0de8 100644
--- gcc/testsuite/gcc.dg/sso/t5.c
+++ gcc/testsuite/gcc.dg/sso/t5.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t6.c gcc/testsuite/gcc.dg/sso/t6.c
index 018f9bd..911479e 100644
--- gcc/testsuite/gcc.dg/sso/t6.c
+++ gcc/testsuite/gcc.dg/sso/t6.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t7.c gcc/testsuite/gcc.dg/sso/t7.c
index 6e6443b..f3fa9b1 100644
--- gcc/testsuite/gcc.dg/sso/t7.c
+++ gcc/testsuite/gcc.dg/sso/t7.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/t8.c gcc/testsuite/gcc.dg/sso/t8.c
index 8fbb817..557a525 100644
--- gcc/testsuite/gcc.dg/sso/t8.c
+++ gcc/testsuite/gcc.dg/sso/t8.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/u5.c gcc/testsuite/gcc.dg/sso/u5.c
index 8b9d097..d66cb0c 100644
--- gcc/testsuite/gcc.dg/sso/u5.c
+++ gcc/testsuite/gcc.dg/sso/u5.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>
 
diff --git gcc/testsuite/gcc.dg/sso/u6.c gcc/testsuite/gcc.dg/sso/u6.c
index 4b2ca1c..b590890 100644
--- gcc/testsuite/gcc.dg/sso/u6.c
+++ gcc/testsuite/gcc.dg/sso/u6.c
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-require-effective-target int32 } */
 
 #include <stdio.h>