This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r149499 - in /branches/gcc-4_4-branch/gcc: cp/C...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 10 Jul 2009 22:31:35 -0000
- Subject: r149499 - in /branches/gcc-4_4-branch/gcc: cp/C...
Author: jakub
Date: Fri Jul 10 22:31:34 2009
New Revision: 149499
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149499
Log:
PR c++/40502
* error.c (cp_print_error_function): Check for NULL block.
* g++.dg/ext/strncpy-chk1.C: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/strncpy-chk1.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/error.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog