[Bug c++/67337] [4.9/5 Regression] Segmentation fault on a template class
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 4 11:44:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67337
--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Author: trippels
Date: Fri Dec 4 11:44:17 2015
New Revision: 231257
URL: https://gcc.gnu.org/viewcvs?rev=231257&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-5-branch/gcc/testsuite/g++.dg/template/pr67337.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/mangle.c
More information about the Gcc-bugs
mailing list