gcc 3.0.4 + PR3145.patch patch
Frank Pilhofer
520065607613-0001@t-online.de
Tue Feb 26 07:39:00 GMT 2002
Hi,
I am evaluating whether gcc 3.0.4 plus the contrib/PR3145.patch is
able to compile and run our Mico ORB. Looks good so far.
However, I had to move a variable declaration to the beginning of a
block in gcc/cp/search.c. The patch is attached.
Just in case anyone cares ...
Frank
--
Frank Pilhofer ........................................... fp@fpx.de
Most people don't act stupid, it's the real thing! - A. E. Neuman
-------------- next part --------------
*** gcc/cp/search.c.orig Tue Feb 26 09:31:37 2002
--- gcc/cp/search.c Tue Feb 26 09:31:43 2002
***************
*** 474,479 ****
--- 474,480 ----
for (i = TREE_VEC_LENGTH (bases); i--;)
{
+ base_kind bk;
tree base_binfo = TREE_VEC_ELT (bases, i);
int this_non_public = is_non_public;
int this_virtual = is_virtual;
***************
*** 494,500 ****
if (TREE_VIA_VIRTUAL (base_binfo))
this_virtual = 1;
! base_kind bk = lookup_base_r (base_binfo, base,
access, within_current_scope,
this_non_public, this_virtual,
binfo_ptr);
--- 495,501 ----
if (TREE_VIA_VIRTUAL (base_binfo))
this_virtual = 1;
! bk = lookup_base_r (base_binfo, base,
access, within_current_scope,
this_non_public, this_virtual,
binfo_ptr);
More information about the Gcc
mailing list