[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 10 22:32:00 GMT 2009



------- Comment #9 from jakub at gcc dot gnu dot org  2009-07-10 22:31 -------
Subject: Bug 40502

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40502



More information about the Gcc-bugs mailing list