diff options
author | Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> | 2004-12-15 15:21:11 +0000 |
---|---|---|
committer | Kriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org> | 2004-12-15 15:21:11 +0000 |
commit | 6e432b319e1f52ea03345c691334c9ac80fcef85 (patch) | |
tree | fc3c8123f4c13382b40067d4d1ac457e3358cc0c /gcc/global.c | |
parent | 06d5588c56e70b6f89f3cdab25c381b237759bd7 (diff) | |
download | gcc-6e432b319e1f52ea03345c691334c9ac80fcef85.zip gcc-6e432b319e1f52ea03345c691334c9ac80fcef85.tar.gz gcc-6e432b319e1f52ea03345c691334c9ac80fcef85.tar.bz2 |
re PR c++/18825 (ICE segmentation fault in wv2)
PR c++/18825
* pt.c (instantiate_class_template): Set input_location for
friend function.
(tsubst_friend_function): Don't set input_location here.
Make sure the context is complete if necessary.
* g++.dg/template/friend32.C: New test.
From-SVN: r92200
Diffstat (limited to 'gcc/global.c')
0 files changed, 0 insertions, 0 deletions