From f4f656c65ef9f5ad9548e76567cd06a9929d80b1 Mon Sep 17 00:00:00 2001 From: Andy Hutchinson Date: Wed, 18 Jun 2008 21:53:20 +0000 Subject: [PATCH] re PR testsuite/36284 (gcc.dg-struct-layout fails AVR target - multiple reasons) PR testsuite/36284 * gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Require int32plus for generated main files. From-SVN: r136920 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e6b90c6d096..c4c1c75544a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-06-18 Andy Hutchinson + + PR testsuite/36284 + * gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Require + int32plus for generated main files. + 2008-06-18 Andy Hutchinson PR c/36460 diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c index f7c943ec56c..c53c3e8c2bd 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c +++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c @@ -762,6 +762,7 @@ switchfiles (int fields) exit (1); } fprintf (outfile, "\ +/* { dg-require-effective-target int32plus } */\n\ /* { dg-options \"-I%s\" } */\n\ /* { dg-options \"-I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* *-*-mingw32* *-*-cygwin* } } */\n\ /* { dg-options \"-I%s -mno-base-addresses\" { target mmix-*-* } } */\n\ -- 2.30.2