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:
parent
5006570d8f
commit
a684432bf7
3 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target int32 } */
|
||||
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
|
||||
/* { dg-additional-options "-fgimple -fdump-tree-fre1" } */
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target int32 } */
|
||||
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
|
||||
/* { dg-additional-options "-fgimple -fdump-tree-fre1" } */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue