Re: Fix segfault on degenerate bitfield case

2012-12-01 Thread Richard Sandiford
Eric Botcazou writes: > This is a segfault on a degenerate bitfield case introduced by the rewrite of > the bitfield machinery. In Ada, we have bitfields of size zero and we ask > the > middle-end to generate accesses to them. This doesn't work anymore because > get_best_mode now returns VOI

Fix segfault on degenerate bitfield case

2012-11-30 Thread Eric Botcazou
This is a segfault on a degenerate bitfield case introduced by the rewrite of the bitfield machinery. In Ada, we have bitfields of size zero and we ask the middle-end to generate accesses to them. This doesn't work anymore because get_best_mode now returns VOIDmode instead of QImode in this ca