freebsd-nq/contrib/gcclibs
Matthew D Fleming 9b76499a0b Fix a segfault / internal compiler error.
Among other causes, when gcc throws a warning before parsing any tokens,
the cur_token pointer is at the beginning of malloc'd memory.
Dereferencing cur_token[-1] can cause a segfault.

Code taken from OpenBSD
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/gcc/libcpp/errors.c
which was a more complete fix than the one I originally coded.

MFC after:	1 week
2013-11-26 17:11:43 +00:00
..
include
libcpp Fix a segfault / internal compiler error. 2013-11-26 17:11:43 +00:00
libdecnumber
libgomp
libiberty cxxfilt: small changes from Apple's developer tools 2013-11-11 21:18:02 +00:00
libmudflap
libssp Quiesce warning by including appropriate header file 2013-10-29 20:36:04 +00:00