summaryrefslogtreecommitdiffstats
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1994-03-23 23:33:53 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1994-03-23 23:33:53 +0000
commitac9386a070f271f72275988239ba10d9b04fd44f (patch)
tree50fb55018ee5664cebe5d87e245abecdf1af7630 /gcc/cp/method.c
parentaa409426f586edfa226dea1ccc374923427242bd (diff)
downloadppe42-gcc-ac9386a070f271f72275988239ba10d9b04fd44f.tar.gz
ppe42-gcc-ac9386a070f271f72275988239ba10d9b04fd44f.zip
30th Cygnus<->FSF merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 83750436546..03450659777 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -929,6 +929,8 @@ build_typename_overload (type)
build_overload_name (type, 0, 1);
id = get_identifier (obstack_base (&scratch_obstack));
IDENTIFIER_OPNAME_P (id) = 1;
+ IDENTIFIER_GLOBAL_VALUE (id) = TYPE_NAME (type);
+ TREE_TYPE (id) = type;
return id;
}
OpenPOWER on IntegriCloud