CVS head breakage
Mark Mitchell
mark@codesourcery.com
Fri Oct 18 14:48:00 GMT 2002
--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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffs
Type: application/octet-stream
Size: 1082 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20021018/e69a2ff3/attachment.obj>
More information about the Gcc-bugs
mailing list