This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix: Re: GCC build failed for native with your patch on 2003-07-06T23:56:04Z.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-regression at gcc dot gnu dot org
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Sun, 6 Jul 2003 21:45:35 -0400
- Subject: [PATCH] Fix: Re: GCC build failed for native with your patch on 2003-07-06T23:56:04Z.
Looks like it was Mark's patch introduced a warning:
+2003-07-06 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/11345
+ * search.c (lookup_base_r): Remove is_non_public and
+ within_current_scope parameters. Remove other dead code.
+ (lookup_base): Adjust call to lookup_base_r.
+ (adjust_result_of_qualified_name_lookup): Improve comment.
+ * semantics.c (finish_call_expr): Use maybe_dummy_object.
ChageLog:
2003-07-06 Andrew Pinski <pinskia@physics.uc.edu>
* search.c (dynamic_cast_base_recurse): Remove unused variable.
Patch:
Index: search.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/search.c,v
retrieving revision 1.270
diff -u -p -r1.270 search.c
--- search.c 6 Jul 2003 23:23:45 -0000 1.270
+++ search.c 7 Jul 2003 01:43:59 -0000
@@ -364,7 +364,6 @@ dynamic_cast_base_recurse (tree subtype,
for (i = 0; i < n_baselinks; i++)
{
tree base_binfo = TREE_VEC_ELT (binfos, i);
- tree base_access = TREE_VEC_ELT (accesses, i);
int rval;
if (base_access != access_public_node)
Thanks,
Andrew Pinski
On Sunday, Jul 6, 2003, at 21:03 US/Eastern, GCC regression checker
wrote:
With your recent patch, GCC does not compile on:
native
Attached is build output for those targets.
The build failures are new.
For more information, see http://gcc.gnu.org/regtest/.
<ChangeLog.diff><native-log.txt>--
Geoffrey Keating <geoffk@apple.com>
(via an automated GCC regression-testing script.)