https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70671
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Fri Apr 15 14:46:06 2016 New Revision: 235032 URL: https://gcc.gnu.org/viewcvs?rev=235032&root=gcc&view=rev Log: PR c/70671 * c-typeck.c (build_unary_op): Pass location down to error and warning call. * gcc.dg/bitfld-22.c: New test. Added: trunk/gcc/testsuite/gcc.dg/bitfld-22.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-typeck.c trunk/gcc/testsuite/ChangeLog