[Bug c/70671] Wrong column number shown for "error: cannot take address of bit-field"
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 15 14:46:00 GMT 2016
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
More information about the Gcc-bugs
mailing list