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 middle-end/17112] Copying of packed bitfields is wrong


------- Additional Comments From giovannibajo at libero dot it  2004-09-23 02:48 -------
Confirmed, not a regression.

This behaviour is totally wrong to me, especially since sizeof(myint24) is 3 as 
expected. The same also applies if you compile the program with the C frontend.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
      Known to fail|                            |2.95.3 3.0.4 3.2.3 3.3.3
                   |                            |3.4.0 4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-23 02:48:23
               date|                            |
            Summary|default operator= for struct|Copying of packed bitfields
                   |with packed bitfield is     |is wrong
                   |wrong                       |


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


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