PR c/9110: Zero-length bitfields cause wider structure when -fpack-struct is specified

etiotto@ca.ibm.com etiotto@ca.ibm.com
Thu Jan 2 19:34:00 GMT 2003


My fault, member "a" should have type "char" instead on "int". Sorry about
that.

Ettore Tiotto
etiotto@ca.ibm.com



                                                                                                                                 
                      Mark Mitchell                                                                                              
                      <mark@codesourcer        To:       "neroden@twcny.rr.com" <neroden@twcny.rr.com>, "gcc-gnats@gcc.gnu.org"  
                      y.com>                    <gcc-gnats@gcc.gnu.org>, "gcc-bugs@gcc.gnu.org" <gcc-bugs@gcc.gnu.org>,          
                                                "nobody@gcc.gnu.org" <nobody@gcc.gnu.org>, Ettore Tiotto/Toronto/IBM@IBMCA       
                      01/02/2003 02:14         cc:                                                                               
                      PM                       Subject:  Re: PR c/9110: Zero-length bitfields cause wider structure when         
                                                -fpack-struct is specified                                                       
                                                                                                                                 
                                                                                                                                 
                                                                                                                                 





--On Wednesday, January 01, 2003 01:54:22 PM -0500 Nathanael Nerode
<neroden@twcny.rr.com> wrote:

> Mark, I think this PR may have been fixed by your recent C ABI change.
> Can  you verify, and if so close the bug report?

It may well have fixed it, but I'm too busy to build a cross-compiler to
check it out. :-)  (The bug report looks odd anyhow; shouldn't "a" have
type "char", not type "int"?)

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com





More information about the Gcc-bugs mailing list