Fix gcc.dg/torture/ssa-fre-{5,7}.c failure for avr

The test assumes 32 bit integers (and pointers), and therefore
fails for the avr target, which has 16 bit integers.
    
Fix failure for avr by adding dg-require-effective-target int32.

gcc/testsuite/ChangeLog:

2019-08-02  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>

	* gcc.dg/torture/ssa-fre-5.c: Add dg-require-effective-target int32.
	* gcc.dg/torture/ssa-fre-7.c: Likewise.

From-SVN: r274001
This commit is contained in:
Senthil Kumar Selvaraj 2019-08-02 08:47:04 +00:00 committed by Senthil Kumar Selvaraj
parent 5006570d8f
commit a684432bf7
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-08-02 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
* gcc.dg/torture/ssa-fre-5.c: Add dg-require-effective-target int32.
* gcc.dg/torture/ssa-fre-7.c: Likewise.
2019-08-02 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/91201

View File

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target int32 } */
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
/* { dg-additional-options "-fgimple -fdump-tree-fre1" } */

View File

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target int32 } */
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
/* { dg-additional-options "-fgimple -fdump-tree-fre1" } */