This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: CVS head breakage
- From: Mark Mitchell <mark at codesourcery dot com>
- To: tm <tm at mail dot kloo dot net>, "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 18 Oct 2002 14:46:04 -0700
- Subject: Re: CVS head breakage
--On Friday, October 18, 2002 02:18:12 PM -0700 tm <tm@mail.kloo.net> wrote:
host: i386-linux
target: sh-elf
Looks like someone broke CVS head for sh-elf, and possibly other targets
as well:
Someone was me; it looks like I got away with this on i686 GNU/Linux for
some reason; fixed with the attached patch.
Thanks!
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2002-10-18 Mark Mitchell <mark@codesourcery.com>
* class.c (base_derived_from): Make sure return value is a bool.
Index: class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/class.c,v
retrieving revision 1.479
diff -c -5 -p -r1.479 class.c
*** class.c 18 Oct 2002 09:26:42 -0000 1.479
--- class.c 18 Oct 2002 21:46:17 -0000
*************** dfs_base_derived_from (tree binfo, void
*** 2223,2233 ****
subobject. */
static bool
base_derived_from (tree derived, tree base)
{
! return dfs_walk (derived, dfs_base_derived_from, NULL, base);
}
typedef struct find_final_overrider_data_s {
/* The function for which we are trying to find a final overrider. */
tree fn;
--- 2223,2233 ----
subobject. */
static bool
base_derived_from (tree derived, tree base)
{
! return dfs_walk (derived, dfs_base_derived_from, NULL, base) !=
NULL_TREE;
}
typedef struct find_final_overrider_data_s {
/* The function for which we are trying to find a final overrider. */
tree fn;
Attachment:
diffs
Description: Binary data