Ticket #5168: Don't crash when simplifying bit-fields for invalid code.
Merge pull request #199 from simartin/ticket_5168

Ticket #5168: Don't crash when simplifying bit-fields for invalid code.