[Bug 1167898] GCC: Internal compiler error when building HepMC