[Bug target/28763] wrong size of struct with some bit-fields on ppc-eabi

2009-06-16 Thread mcvick_e at iname dot com
--- Comment #9 from mcvick_e at iname dot com 2009-06-16 16:24 --- Similar behavior has been seen against version 4.3.2. Using the __attribute__ mechanism in the past has forced the hand of the alignment issue most all of the time. I say most all of the time because we have uncovered

[Bug target/28763] wrong size of struct with some bit-fields on ppc-eabi

2009-06-16 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28763

[Bug target/28763] wrong size of struct with some bit-fields on ppc-eabi

2009-06-16 Thread mcvick_e at iname dot com
--- Comment #10 from mcvick_e at iname dot com 2009-06-16 16:30 --- The __attribute__ mechanism works in 4.0.1, but was broken in the 4.3 series. I wanted to clarify this as I think it's an important hint as to the root cause of the problem. In 4.0.1, packing and aligning worked via

[Bug target/28763] wrong size of struct with some bit-fields on ppc-eabi

2009-06-16 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-06-16 16:31 --- The alignment of the variable is different from the alignment of the type ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28763] wrong size of struct with some bit-fields on ppc-eabi

2009-06-16 Thread mcvick_e at iname dot com
--- Comment #12 from mcvick_e at iname dot com 2009-06-16 16:55 --- Can you be a bit more succinct here? Because the comment just made sounds like a bunch of foo foo stuff made up to ignore a genuine bug in the compiler. Type byte has a byte alignment. Type short has a 16-bit