Fix broken gcc.dg/torture/pr80341.c for avr
This patch skips pr80341.c for targets with int size less than 32 bits. The assertion in the testcase holds only if sizeof(int) > sizeof(short), which isn't true for smaller int size targets like the avr. gcc/testsuite 2017-04-19 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> * gcc.dg/torture/pr80341.c: Require int32plus. From-SVN: r246994
This commit is contained in:
parent
6cff9199c1
commit
5249994efa
@ -1,3 +1,7 @@
|
||||
2017-04-19 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||
|
||||
* gcc.dg/torture/pr80341.c: Require int32plus.
|
||||
|
||||
2017-04-19 Eric Botcazou <ebotcazou@adacore.com>
|
||||
Jeff Law <law@redhat.com>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-additional-options "-Wno-overflow" } */
|
||||
/* { dg-require-effective-target int32plus } */
|
||||
|
||||
const signed char c = -84;
|
||||
signed char s;
|
||||
|
Loading…
Reference in New Issue
Block a user