[Bug c++/43393] New: integral promotion of long bit-fields broken in g++ 4.4.0

2010-03-16 Thread vsoni at tilera dot com
motion purposes. -- Summary: integral promotion of long bit-fields broken in g++ 4.4.0 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unas

[Bug c++/43393] integral promotion of long bit-fields broken in g++ 4.4.0

2010-03-16 Thread vsoni at tilera dot com
--- Comment #1 from vsoni at tilera dot com 2010-03-16 17:55 --- Created an attachment (id=20118) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20118&action=view) preprocessed test -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43393

[Bug c++/43393] integral promotion of long bit-fields broken in g++ 4.4.0

2010-03-17 Thread vsoni at tilera dot com
--- Comment #3 from vsoni at tilera dot com 2010-03-17 19:33 --- (In reply to comment #2) > > I read that t.f promotes to int. And that is exactly what the C++ frontend > does: That's plausible, but the standard, especially it's intent, is unclear I think. I

[Bug c++/43393] integral promotion of long bit-fields broken in gcc 4.4.0?

2010-03-24 Thread vsoni at tilera dot com
--- Comment #4 from vsoni at tilera dot com 2010-03-25 00:21 --- (In reply to comment #2) > I read that t.f promotes to int. I concede to this interpretation for C++. Note that the behavior for C/C99 also changed: $ gcc-4.1.2 -std=c99 -Wall -pedantic x.c; ./a.out x.c: In funct