re PR c++/79091 (ICE in write_unnamed_type)
authorNathan Sidwell <nathan@acm.org>
Wed, 18 Jan 2017 12:51:28 +0000 (12:51 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 18 Jan 2017 12:51:28 +0000 (12:51 +0000)
commit2c65d990eb80d25c2e040be14a2918a0311dc37c
treebbf98d9a04aae9c4ebfded82b2bff8a61db8437b
parent928bff1905fa3d690048a3ab104bcf5d6a57176c
re PR c++/79091 (ICE in write_unnamed_type)

PR c++/79091
* mangle.c (write_exception_spec): Check nothrow explicitly.
(write_encoding): Don't increment processing_template_decl around
encoding.

PR c++/79091
* g++.dg/pr79091.C: New.

From-SVN: r244575
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr79091.C [new file with mode: 0644]