[llvm-commits] [llvm-gcc-4.2] r45590 - in /llvm-gcc-4.2/trunk/gcc: llvm-abi.h llvm-convert.cpp llvm-debug.cpp llvm-internal.h llvm-types.cpp

Duncan Sands duncan.sands at math.u-psud.fr
Tue Jan 8 01:16:43 PST 2008


> 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.



More information about the llvm-commits mailing list