]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
authorMark Mitchell <mark@codesourcery.com>
Fri, 26 Apr 2002 21:28:47 +0000 (21:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 26 Apr 2002 21:28:47 +0000 (21:28 +0000)
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

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020426-1.c [new file with mode: 0644]

index f23a4a4678b4c403587ee8b438a6d687e57e5c2c..05394caf8edd69641e6938656c0c98669a91f9e7 100644 (file)
@@ -1,3 +1,10 @@
+2002-04-26  Mark Mitchell  <mark@codesourcery.com>
+
+       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.
+
 2002-04-26  Alexandre Oliva  <aoliva@redhat.com>
 
        * tree.c (tree_int_cst_lt): Compare constants whose types differ
index e8aa22ae1c90472ad8fe3865d0319f9f7918f16a..4e9ef3ce8ad449a41f99353ba328780fdcae9e9e 100644 (file)
@@ -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.
index efcd5fb289a36758e705df0096bd621fb6d84ddb..b689067822310d0edd5e42ff1a1eeeea2076ccfd 100644 (file)
@@ -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);
        }
index 42b45b0d60990a3d18efd8c3f963401dccaa2ebf..ffaf4aa2c253964e827f53b2244453db07d99e62 100644 (file)
@@ -1,3 +1,13 @@
+2002-04-26  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/6497
+       * g++.dg/inherit/access2.C: New test.
+       
+2002-04-26  Mark Mitchell  <mark@codesourcery.com>
+
+       PR bootstrap/6445
+       * gcc.dg/20020426-1.c: New test.
+
 2002-04-26  Alexandre Oliva  <aoliva@redhat.com>
 
        * g++.dg/abi/enum1.C: New test.
diff --git a/gcc/testsuite/gcc.dg/20020426-1.c b/gcc/testsuite/gcc.dg/20020426-1.c
new file mode 100644 (file)
index 0000000..94523e7
--- /dev/null
@@ -0,0 +1,6 @@
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options "-msoft-float -mfp-ret-in-387" } */
+
+void f() {
+  __builtin_apply(0, 0, 0);
+}