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++/43393] integral promotion of long bit-fields broken in gcc 4.4.0?


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

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-09-25 16:51:02 UTC ---
On Sun, 25 Sep 2011, paolo.carlini at oracle dot com wrote:

> I'm tempted to close this, then. Comment #4 raises a C issue, however, maybe
> Joseph wants to have a look?

For C we treat long:33 as its own type, following some C90 DRs and the 
changes made in C99 following those DRs, and as it's wider than int it 
doesn't get promoted.


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