[Bug testsuite/108427] bitfield tests fail with missing warnings

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108427 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug testsuite/108427] bitfield tests fail with missing warnings

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108427 --- Comment #2 from Andrew Pinski --- So this is basically just a testsuite failure and it might just need pcc_bitfield_type_matters check in the dg-warning for the target and such.

[Bug testsuite/108427] bitfield tests fail with missing warnings

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108427 --- Comment #1 from Andrew Pinski --- -mms-bitfields is enabled by default. See TARGET_MS_BITFIELD_LAYOUT_P and https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/x86-Options.html#index-mms-bitfields The layout of bitfields are different here ...