[Bug c++/67337] [4.9/5/6 Regression] Segmentation fault on a template class

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 2 19:58:00 GMT 2015


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

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Author: trippels
Date: Wed Dec  2 19:57:55 2015
New Revision: 231203

URL: https://gcc.gnu.org/viewcvs?rev=231203&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:
    trunk/gcc/testsuite/g++.dg/template/pr67337.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c


More information about the Gcc-bugs mailing list