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 Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
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