diff options
author | Jason Merrill <jason@redhat.com> | 2011-07-11 14:52:12 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-07-11 14:52:12 -0400 |
commit | 4904b64bf7dc5538b06d2ba01fc1c55231c09bb8 (patch) | |
tree | 3256896a64479248e6b7bfbaeb3af03b35d3636e /gcc/dwarf2out.h | |
parent | 848ca96f30746fc6972105de156656ce8c5ee586 (diff) | |
download | gcc-4904b64bf7dc5538b06d2ba01fc1c55231c09bb8.zip gcc-4904b64bf7dc5538b06d2ba01fc1c55231c09bb8.tar.gz gcc-4904b64bf7dc5538b06d2ba01fc1c55231c09bb8.tar.bz2 |
re PR c++/44609 (Invalid template code causes infinite loop of error messages)
PR c++/44609
* cp-tree.h (struct tinst_level): Add errors field.
* pt.c (neglectable_inst_p, limit_bad_template_recurson): New.
(push_tinst_level): Don't start another decl in that case.
(reopen_tinst_level): Adjust errors field.
* decl2.c (cp_write_global_declarations): Don't complain about
undefined inline if its template was defined.
* mangle.c (mangle_decl_string): Handle failure from push_tinst_level.
From-SVN: r176176
Diffstat (limited to 'gcc/dwarf2out.h')
0 files changed, 0 insertions, 0 deletions