[Bug c/95213] New: GCC -Werror=conversion error when assigning to a bitfield (when mixing constants and variables)

2020-05-19 Thread in-gcc at baka dot org
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: in-gcc at baka dot org Target Milestone: --- When trying to assign to a bitfield with -Werror=conversion, having a constant mix with a variable causes a

[Bug c/95213] GCC -Werror=conversion error when assigning to a bitfield (when mixing constants and variables)

2020-05-19 Thread in-gcc at baka dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95213 --- Comment #1 from Seth Robertson --- FYI, discussion on https://stackoverflow.com/questions/61877799/son-of-gcc-conversion-warning-when-assigning-to-a-bitfield

[Bug c/95213] GCC -Werror=conversion error when assigning to a bitfield (when mixing constants and variables)

2020-05-20 Thread in-gcc at baka dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95213 Seth Robertson changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICAT