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 c++/67337] [4.9/5 Regression] Segmentation fault on a template class


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67337

--- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Author: trippels
Date: Fri Dec  4 11:46:39 2015
New Revision: 231258

URL: https://gcc.gnu.org/viewcvs?rev=231258&root=gcc&view=rev
Log:
Fix c++/67337 (segfault in mangle.c)

        PR c++/67337
        * mangle.c (write_template_prefix): Guard against context==NULL.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/pr67337.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/mangle.c

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