aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2002-10-16 18:58:38 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2002-10-16 18:58:38 +0000
commit451c08992e6c3ff4a053b9d20ed6d6f47923aae6 (patch)
tree09fe1da2acc0f0cdc2c7700bd26483f079818fd7 /gcc/cp/method.c
parent57e172dd3a28714d38038c05563c58e8e3483220 (diff)
downloadgcc-451c08992e6c3ff4a053b9d20ed6d6f47923aae6.zip
gcc-451c08992e6c3ff4a053b9d20ed6d6f47923aae6.tar.gz
gcc-451c08992e6c3ff4a053b9d20ed6d6f47923aae6.tar.bz2
re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)
PR c++/7524 * g++.dg/init/array7.C: New test. PR c++/7524 * method.c (do_build_assign_ref): Use cp_build_qualified_type, not build_qualified_type. From-SVN: r58217
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 0658181..6f3e0e7 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -705,7 +705,7 @@ do_build_assign_ref (fndecl)
comp = build (COMPONENT_REF, TREE_TYPE (field), comp, field);
init = build (COMPONENT_REF,
- build_qualified_type (TREE_TYPE (field), cvquals),
+ cp_build_qualified_type (TREE_TYPE (field), cvquals),
init, field);
if (DECL_NAME (field))