This is the mail archive of the gcc-bugs@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]

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



------- 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


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