This is the mail archive of the gcc-bugs@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]

[Bug c++/16386] New: [ABI] attribute aligned,packed shifting [3.2/3.3/3.4]


First reported by Michael Wong. 

The attached testcase produces different output depending on the version of gcc
used. This can be reproduced on powerpc-linux as well.

3.2.3
        size    align
ua      4       1
ua.a    4       1
ub      4       1
ub.b    4       1

3.3.3
        size    align
ua      16      16
ua.a    4       16
ub      16      16
ub.b    4       16

3.4.1
        size    align
ua      16      16
ua.a    4       4
ub      16      16
ub.b    4       4

-- 
           Summary: [ABI] attribute aligned,packed shifting [3.2/3.3/3.4]
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ABI
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkoz at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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