This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Small fix for gcc.c-torture/execute/pr37882.c


Hi!

On 16-bit int targets this test fails and the a bitfield
isn't needed to reproduce the problem, so I've just taken
it out and committed as obvious.  The testcase still fails
with pre-2008-10-22 gcc on x86_64-linux and succeeds with
current SVN.

2008-10-22  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/37882
	* gcc.c-torture/execute/pr37882.c: Remove a field.

--- gcc/testsuite/gcc.c-torture/execute/pr37882.c.jj	2008-10-22 18:59:14.000000000 +0200
+++ gcc/testsuite/gcc.c-torture/execute/pr37882.c	2008-10-24 11:13:15.000000000 +0200
@@ -2,7 +2,6 @@
 
 struct S
 {
-  int a : 21;
   unsigned char b : 3;
 } s;
 

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]