https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58893
--- Comment #12 from edlinger at gcc dot gnu.org --- Author: edlinger Date: Tue Sep 30 16:08:53 2014 New Revision: 215730 URL: https://gcc.gnu.org/viewcvs?rev=215730&root=gcc&view=rev Log: 2014-09-30 Bernd Edlinger <bernd.edlin...@hotmail.de> PR preprocessor/58893 * errors.c (cpp_diagnostic): Fix possible out of bounds access. * files.c (_cpp_stack_include): Initialize src_loc for IT_CMDLINE. testsuite: 2014-09-30 Bernd Edlinger <bernd.edlin...@hotmail.de> PR preprocessor/58893 * gcc.dg/pr58893.c: New test case. * gcc.dg/pr58893-0.h: New include. Added: trunk/gcc/testsuite/gcc.dg/pr58893-0.h trunk/gcc/testsuite/gcc.dg/pr58893.c Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/errors.c trunk/libcpp/files.c