On Fri, Apr 15, 2016 at 04:38:27PM +0200, Marek Polacek wrote: > This patch improves the location of the error message about taking the address > of a bit-field. While at it, I also fixed two other similar spots. > > Not a regression, but given its extreme triviality I thought this could have > gone in even at this time. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > 2016-04-15 Marek Polacek <pola...@redhat.com> > > PR c/70671 > * c-typeck.c (build_unary_op): Pass location down to error and > warning call. > > * gcc.dg/bitfld-22.c: New test.
Ok. Jakub