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
This commit is contained in:
Mark Mitchell 2002-04-26 21:28:47 +00:00 committed by Mark Mitchell
parent 48ba95387d
commit 7d793e9b25
5 changed files with 30 additions and 1 deletions

View 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

View 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.

View 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);
}

View 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.

View File

@ -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);
}