This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for bug 28768


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> This patch fixes bug 28768, a P2 regression for lack of diagnostics on
> preprocessing files with unterminated string and character constants

This is OK.

> libcpp:
> 2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
> 
> 	PR c/28768
> 	PR preprocessor/14634
> 	* lex.c (lex_string): Pedwarn for unterminated literals.
> 
> libgomp:
> 2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
> 
> 	PR c/28768
> 	PR preprocessor/14634
> 	* configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
> 	to AC_DEFINE.
> 	* configure: Regenerate.
> 
> gcc/testsuite:
> 2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
> 
> 	PR c/28768
> 	PR preprocessor/14634
> 	* gcc.dg/cpp/include2.c, gcc.dg/cpp/macspace1.c,
> 	gcc.dg/cpp/macspace2.c, gcc.dg/cpp/multiline.c,
> 	gcc.dg/cpp/trad/literals-2.c: Update expected diagnostics.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]