[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-12 Thread echristo at gcc dot gnu dot org
--- Comment #8 from echristo at gcc dot gnu dot org 2006-06-12 06:53 --- Subject: Bug 27948 Author: echristo Date: Mon Jun 12 06:53:33 2006 New Revision: 114562 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114562 Log: 2006-06-11 Eric Christopher [EMAIL PROTECTED] PR

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-12 Thread echristo at apple dot com
--- Comment #9 from echristo at apple dot com 2006-06-12 06:54 --- 2006-06-11 Eric Christopher [EMAIL PROTECTED] PR middle-end/27948 * stor-layout.c (place_field): Remove check for

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|c |middle-end Keywords||ABI,

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread echristo at apple dot com
--- Comment #1 from echristo at apple dot com 2006-06-08 18:11 --- Can you get me the size of that structure according to MS VC? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27948

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2006-06-08 22:32 --- (In reply to comment #1) Can you get me the size of that structure according to MS VC? With version 12.00.8804 of MS cl.exe, sizeof (struct six) == 8, as tested in the testcase. Danny --

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread echristo at apple dot com
--- Comment #3 from echristo at apple dot com 2006-06-08 22:39 --- Verified. Investigating. The alignment should be 8 from what I can see: a - 1st byte int :0 - align to 4th byte b - 5th byte c - 6th byte align structure to 8th byte because of int :0. -- echristo at apple dot com

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-08 23:47 --- Can I also recommend that gcc.dg/bf-ms-layout.c (and all the ms struct layout tests if there is another one) be changed to run on PPC-darwin and x86 with the pragam's for ms_struct? --

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread echristo at apple dot com
--- Comment #5 from echristo at apple dot com 2006-06-08 23:57 --- FWIW btw, the edge case only occurs when the bitfield is the full length of the array size. Guh. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27948

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread echristo at apple dot com
--- Comment #6 from echristo at apple dot com 2006-06-09 00:00 --- Think I've got a patch. testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27948

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread echristo at apple dot com
--- Comment #7 from echristo at apple dot com 2006-06-09 01:12 --- Confirmed. Patch appears to work. I'll submit it a bit later. Short, one liner. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27948