https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-01-28 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Confirmed, at -O1 and above. Segfaults reading through NULL "unsigned_type" here in decode_field_reference: 4325 /* Compute the mask to access the bitfield. */ 4326 unsigned_type = lang_hooks.types.type_for_size (*pbitsize, 1); 4327 precision = TYPE_PRECISION (unsigned_type);