diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-05-10 02:58:06 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-05-10 02:58:06 +0000 |
commit | 8c5c575d3d9c870ce5d9608202e1ecd637e186fa (patch) | |
tree | 7862fa2b25f79118555ccc1654b75d2f13a854b5 /gcc/cp/tree.c | |
parent | ae810dc7781b2af976d534a0b75bc8f9dab7e23a (diff) | |
download | ppe42-gcc-8c5c575d3d9c870ce5d9608202e1ecd637e186fa.tar.gz ppe42-gcc-8c5c575d3d9c870ce5d9608202e1ecd637e186fa.zip |
69th Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 196f1a4e3ea..3581348686a 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -397,10 +397,8 @@ build_cplus_method_type (basetype, rettype, argtypes) TYPE_READONLY (basetype), TYPE_VOLATILE (basetype)); else - { - ptype = build_pointer_type (basetype); - ptype = build_type_variant (ptype, 1, 0); - } + ptype = build_pointer_type (basetype); + /* The actual arglist for this function includes a "hidden" argument which is "this". Put it into the list of argument types. */ |