------- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-11 21:43 ------- Reduced testcase: typedef unsigned char Uchar; struct scsi_mode_header { unsigned char sense_data_len : 8; }; int f(void) { struct scsi_mode_header md; return *(Uchar*)&md; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Component|c |middle-end Ever Confirmed|0 |1 GCC build triplet|i686-pc-linux-gcc | GCC host triplet|i686-pc-linux-gcc | GCC target triplet|i686-pc-linux-gcc | Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2007-04-11 21:43:06 date| | Summary|cannot take address of bit |[4.3 Regression] cannot take |field |address of bit field Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31541