bitfield types
Joseph Myers
joseph@codesourcery.com
Tue Nov 14 23:21:00 GMT 2017
On Tue, 14 Nov 2017, Mike Stump wrote:
> The testsuite/gcc.c-torture/execute/pr34971.c seems wrong to me. The
> type of the expression x.b << 8 has size 8, a size 8 integral type is a
> 64-bit type. If the result is a 64-bit type, then it's argument (x.b)
> was a 64-bit type. In C++, we observed what they meant in the C
A 64-bit type *with padding bits, not necessarily 64 value bits*.
See what I said in <https://gcc.gnu.org/ml/gcc/2017-10/msg00192.html>.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list