On 12/18/23 11:32, Joseph Myers wrote:
On Sat, 16 Dec 2023, Jeff Law wrote:
I tracked this down to the port unconditionally adding -funsigned-bitfields to
CC1_SPEC. According to the comment it's how the ABI is defined for the mcore
targets.
We explicitly document (under Non-bugs in trouble.texi) that we don't do
this, and -funsigned-bitfields is also incompatible with C++14 and later.
So stopping adding -funsigned-bitfields like that, and telling users of
this port to pass that option explicitly if they want its effects in
future, would seem the obvious thing to do.
I'm not even sure there's any more users for this port. So this may be
the best solution in the end. Change, document and forget :-)
Any objections to make that change in gcc-14? It's a one-liner.
jeff