https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61852
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Sun Jul 20 10:43:26 2014 New Revision: 212865 URL: https://gcc.gnu.org/viewcvs?rev=212865&root=gcc&view=rev Log: PR c/61852 * c-decl.c (implicit_decl_warning): Add location_t parameter. Use it. (implicitly_declare): Pass location to implicit_decl_warning. * gcc.dg/pr61852.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr61852.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/testsuite/ChangeLog