> If a struct field is marked as a bitfield but
> didn't need to be, treat it like an ordinary
> field.  The Ada front-end likes to mark fields
> as bitfields preemptively, so this can occur
> quite often for Ada.  What is more, it can
> mark non-integer fields as bitfields.  In all
> examples I came across so far, these non-integer
> bitfields can be treated like ordinary fields.
> With this patch, the Ada front-end builds (but
> does not bootstrap)!  It is true that the problem
> of non-integer bitfields could be handled in the
> Ada front-end, but since ignoring silly bitfields
> seems like a good idea for all front-ends I chose
> to solve it in the generic code.

I forgot to mention the testcase: FrontendAda/non_bitfield.ads.

Duncan.
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to