re PR testsuite/36284 (gcc.dg-struct-layout fails AVR target - multiple reasons)
authorAndy Hutchinson <hutchinsonandy@aim.com>
Wed, 18 Jun 2008 21:53:20 +0000 (21:53 +0000)
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>
Wed, 18 Jun 2008 21:53:20 +0000 (21:53 +0000)
PR testsuite/36284
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Require int32plus for generated main files.

From-SVN: r136920

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c

index e6b90c6d09677978426741740ee47bdb6188e6ea..c4c1c75544ad9a1bf24f6fc14dc8cbb3e37bd7f3 100644 (file)
@@ -1,3 +1,9 @@
+2008-06-18  Andy Hutchinson  <hutchinsonandy@aim.com>
+
+       PR testsuite/36284
+       * gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Require
+       int32plus for generated main files.
+
 2008-06-18  Andy Hutchinson  <hutchinsonandy@aim.com>
 
        PR c/36460
index f7c943ec56c81bc08e16f9d4120ccf1fd78a841f..c53c3e8c2bd8f628ad4b33ca6772fbe8a1afa1bc 100644 (file)
@@ -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\