This patchlet skips some tests for avr because int is just 16 bits there.
Johann
testsuite/
2011-04-19 Georg-Johann Lay <[email protected]>
* gcc.c-torture/compile/pr43191.c: Skip avr due to 16-bit int.
* gcc.dg/torture/pr43165.c: Ditto.
* gcc.dg/torture/pr47228.c: Ditto.
* gcc.dg/tree-ssa/pr45144.c: Ditto.
* gcc.dg/ipa/pr45644.c: Ditto.
Index: gcc.c-torture/compile/pr43191.c
===================================================================
--- gcc.c-torture/compile/pr43191.c (Revision 172597)
+++ gcc.c-torture/compile/pr43191.c (Arbeitskopie)
@@ -1,4 +1,4 @@
-/* { dg-skip-if "Ints are 16 bits" { "pdp11-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "Ints are 16 bits" { "avr-*-*" "pdp11-*-*" } { "*" } { "" } } */
struct S0
{
};
Index: gcc.dg/torture/pr43165.c
===================================================================
--- gcc.dg/torture/pr43165.c (Revision 172597)
+++ gcc.dg/torture/pr43165.c (Arbeitskopie)
@@ -1,5 +1,6 @@
/* PR debug/43165 */
/* { dg-options "-g" } */
+/* { dg-skip-if "Ints are 16 bits" { "avr-*-*" } { "*" } { "" } } */
struct __attribute__((packed)) S
{
Index: gcc.dg/torture/pr47228.c
===================================================================
--- gcc.dg/torture/pr47228.c (Revision 172597)
+++ gcc.dg/torture/pr47228.c (Arbeitskopie)
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-skip-if "Ints are 16 bits" { "avr-*-*" } { "*" } { "" } } */
struct S4
{
Index: gcc.dg/tree-ssa/pr45144.c
===================================================================
--- gcc.dg/tree-ssa/pr45144.c (Revision 172597)
+++ gcc.dg/tree-ssa/pr45144.c (Arbeitskopie)
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-skip-if "Ints are 16 bits" { "avr-*-*" } { "*" } { "" } } */
void baz (unsigned);
Index: gcc.dg/ipa/pr45644.c
===================================================================
--- gcc.dg/ipa/pr45644.c (Revision 172597)
+++ gcc.dg/ipa/pr45644.c (Arbeitskopie)
@@ -1,6 +1,7 @@
/* Verify that we do not IPA-SRA bitfields. */
/* { dg-do run } */
/* { dg-options "-O2" } */
+/* { dg-skip-if "Ints are 16 bits" { "avr-*-*" } { "*" } { "" } } */
extern void abort (void);