[Bug middle-end/29078] wrong alignment with pragma pack(4)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 14 08:05:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-14 08:05 -------
#pragma pack(4)
"Variable D is aligned on 4 bytes and should be 8."
No you said to align it to 4 bytes by that pack statement.

This is not a bug.
Why do you think otherwise?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |RESOLVED
          Component|c++                         |middle-end
      Known to work|3.4.3                       |
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29078



More information about the Gcc-bugs mailing list