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

Feature Request: sizeof/typeof/offsetof for bit-fields


I'm writing a binding generator and would love a way to get the size, type,
and offset of bit fields of an arbitrary struct.

To implement, it appears that 'bit_position' in tree.c has the information
required.

As a stranger to GCC development, what is the process to get such an
extension?

Daurn.


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