Skip to content

Commit

Permalink
Fix gcc.dg/torture/ssa-fre-6.c failure for avr
Browse files Browse the repository at this point in the history
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  <[email protected]>
    
	* gcc.dg/torture/ssa-fre-6.c: Add dg-require-effective-target int32.

From-SVN: r273995
  • Loading branch information
Senthil Kumar Selvaraj authored and saaadhu committed Aug 2, 2019
1 parent 930dd62 commit 5bae71d
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2019-08-02 Senthil Kumar Selvaraj <[email protected]>

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

2019-08-02 Kito Cheng <[email protected]>

* g++.dg/lto/pr87906_0.C: Add dg-require-effective-target shared check.
1 change: 1 addition & 0 deletions gcc/testsuite/gcc.dg/torture/ssa-fre-6.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target int32 } */
/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
/* { dg-additional-options "-fgimple -fdump-tree-fre1" } */

0 comments on commit 5bae71d

Please sign in to comment.