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++/70733] Wrong code with nested structs and bit field.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
This bug report is for C++, where bit-field width is explicitly not part 
of the type and bit-field types wider than int are not extensions, not for 
C, where there is a line of C90 DRs treating the width as part of the type 
and things that are not defined at all if it is not part of the type.  
The C++ front end should already convert bit-fields to their declared 
types when needed (convert_bitfield_to_declared_type).  So I don't agree 
with the stated rationale for closure.

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