[Bug c/98572] Unexpected signed extension for unsigned bit fields

2021-01-06 Thread vonchun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98572 --- Comment #2 from Chun Feng --- Hi Pinskia: Thanks for looking into this. This is my understanding: As rules from https://wiki.sei.cmu.edu/confluence/display/c/INT02-C.+Understand+integer+conversion+rules 1. If both operands have the same

[Bug c/98572] New: Unexpected signed extension for unsigned bit fields

2021-01-06 Thread vonchun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98572 Bug ID: 98572 Summary: Unexpected signed extension for unsigned bit fields Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Componen