$ cat x.c struct { int a:1; } bf; __typeof__(bf.a) clone; $ g++ -x c x.c -c x.c:2: error: 'typeof' applied to a bit-field
this testcase was extracted from gnupg-1.4.9 sources. it works at least on gcc-3.2.3 (Red Hat Linux 3.2.3-53). -- Summary: C frontend rejects __typeof__(bitfield). Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC target triplet: *-gnu-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37311