diff options
author | Mark Mitchell <mark@codesourcery.com> | 2002-04-26 21:28:47 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2002-04-26 21:28:47 +0000 |
commit | 7d793e9b25c1bf4a122113ab1e54aab528ee32a1 (patch) | |
tree | 27f5f676c426e55be8c661c27357c35963978b65 /gcc/cp | |
parent | 48ba95387db27bf3d27d866b05b81f283ca9c5bd (diff) | |
download | gcc-7d793e9b25c1bf4a122113ab1e54aab528ee32a1.zip gcc-7d793e9b25c1bf4a122113ab1e54aab528ee32a1.tar.gz gcc-7d793e9b25c1bf4a122113ab1e54aab528ee32a1.tar.bz2 |
re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.
PR c++/6497
* method.c (do_build_assign_ref): Pass a derivation to
build_method_call when calling base class assignment operators.
PR c++/6497
* g++.dg/inherit/access2.C: New test.
PR bootstrap/6445
* gcc.dg/20020426-1.c: New test.
From-SVN: r52809
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/method.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e8aa22a..4e9ef3c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2002-04-26 Mark Mitchell <mark@codesourcery.com> + + PR c++/6497 + * method.c (do_build_assign_ref): Pass a derivation to + build_method_call when calling base class assignment operators. + 2002-04-26 Richard Henderson <rth@redhat.com> * parse.y (yyoverflow): Revert. diff --git a/gcc/cp/method.c b/gcc/cp/method.c index efcd5fb..b689067 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -636,7 +636,7 @@ do_build_assign_ref (fndecl) tree expr = build_method_call (dst, ansi_assopname (NOP_EXPR), build_tree_list (NULL_TREE, src), - NULL, + binfo, LOOKUP_NORMAL | LOOKUP_NONVIRTUAL); finish_expr_stmt (expr); } |