[Bug c/68533] bogus location for "warning:=?UTF-8?Q?=20=E2=80=98struct=20s3=E2=80=99=20declared=20inside=20parameter=20list=20will=20not=20be=20visible=20outside=20of=20this=20definition=20or=20declaration?="
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 2 07:33:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68533
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 2 07:33:06 2015
New Revision: 231147
URL: https://gcc.gnu.org/viewcvs?rev=231147&root=gcc&view=rev
Log:
PR c/68533
* c-decl.c (get_parm_info): Use b->locus instead of input_location
for diagnostics.
* gcc.dg/pr68533.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr68533.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list