[Bug preprocessor/58893] [4.8/4.9/5 Regression] <command-line>:0:0: internal compiler error: Segmentation fault
edlinger at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 30 16:09:00 GMT 2014
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.edlinger@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.edlinger@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
More information about the Gcc-bugs
mailing list