SRA problem with uninitialzed fields

Robert Dewar dewar@gnat.com
Sat Sep 25 02:38:00 GMT 2004


Joseph S. Myers wrote:
> On Fri, 24 Sep 2004, Richard Kenner wrote:

> C++ generates the following for this testcase, which includes the mask.  
> In accordance with the differences between how the C and C++ standards 
> define bit-fields, it doesn't use the reduced-width types.

I am completely puzzled as to what reduced-width types have to do
with this example at the C++ semantic level, or are you just making
a comment about the internal implementation and why it happens to
work for C++ and not for C (as far as I can see these programs have
identical semantics in C and C++)




More information about the Gcc mailing list