From: Andreas Krebbel Date: Thu, 26 Jul 2007 09:02:58 +0000 (+0000) Subject: 20070725-1.c: Split the spare field in two to avoid: error: width of 'spare' exceeds... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b980e3ebc014ae849717755c0a8f3d5d83b2ec0;p=gcc.git 20070725-1.c: Split the spare field in two to avoid: error: width of 'spare' exceeds its type. 2007-07-26 Andreas Krebbel * gcc.dg/20070725-1.c: Split the spare field in two to avoid: error: width of 'spare' exceeds its type. From-SVN: r126949 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1960f7747db..99c96518ebd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-07-26 Andreas Krebbel + + * gcc.dg/20070725-1.c: Split the spare field in two to avoid: + error: width of 'spare' exceeds its type. + 2007-07-25 Nathan Froyd * gcc.dg/sibcall-3.c: Skip on PowerPC targets when -mlongcall. diff --git a/gcc/testsuite/gcc.dg/20070725-1.c b/gcc/testsuite/gcc.dg/20070725-1.c index c7a0337c76f..07b609cf8a4 100644 --- a/gcc/testsuite/gcc.dg/20070725-1.c +++ b/gcc/testsuite/gcc.dg/20070725-1.c @@ -34,7 +34,8 @@ struct tree_base unsigned lang_flag_6:1; unsigned visited:1; - unsigned spare:24; + unsigned spare1:16; + unsigned spare2:8; unsigned long a; };