This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap broken


Bootstrap now fails for me with:

/cvs/gcc-svn/trunk/gcc/df-core.c: In function âdf_compact_blocksâ:
/cvs/gcc-svn/trunk/gcc/df-core.c:795: error: invalid lvalue in assignment
/cvs/gcc-svn/trunk/gcc/df-core.c:803: error: invalid lvalue in assignment
/cvs/gcc-svn/trunk/gcc/df-core.c: In function âdf_bb_replaceâ:
/cvs/gcc-svn/trunk/gcc/df-core.c:833: error: invalid lvalue in assignment


    792   i = NUM_FIXED_BLOCKS;
    793   FOR_EACH_BB (bb)
    794     {
    795       BASIC_BLOCK (i) = bb;
    796       bb->index = i;
    797       i++;
    798     }
    799
    800   gcc_assert (i == n_basic_blocks);
    801
    802   for (; i < last_basic_block; i++)
    803     BASIC_BLOCK (i) = NULL;
    804 }


Kazu, it seems that your patch did not take into account the new file
df-core.c

2006-01-11  Kazu Hirata  <kazu@codesourcery.com>

        * basic-block.h (control_flow_graph): Change the type of
        x_basic_block_info to VEC(basic_block,gc) *.
        (BASIC_BLOCK_FOR_FUNCTION, BASIC_BLOCK): Adjust the uses of
        basic_block_info.
        (SET_BASIC_BLOCK): New.

Could you fix this, please?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]