]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-pr26912.patch
- updated to 4.1.1-20060504 (rev. 113515)
[packages/gcc.git] / gcc-pr26912.patch
1 --- gcc/gcc/cp/decl.c
2 +++ gcc/gcc/cp/decl.c
3 @@ -7598,9 +7598,11 @@
4                are always static functions.  */
5             ;
6           else
7 -           type = build_method_type_directly (ctype,
8 -                                              TREE_TYPE (type),
9 -                                              TYPE_ARG_TYPES (type));
10 +           type = (build_method_type_directly 
11 +                   (cp_build_qualified_type (ctype, 
12 +                                             quals & ~TYPE_QUAL_RESTRICT),
13 +                    TREE_TYPE (type),
14 +                    TYPE_ARG_TYPES (type)));
15         }
16        else if (declspecs->specs[(int)ds_typedef]
17                || COMPLETE_TYPE_P (complete_type (ctype)))
This page took 0.14191 seconds and 3 git commands to generate.