Mail Archives: pgcc/1999/03/17/07:17:52
Axel Thimm wrote:
>
> > When compiling pgcc from the latest CVS-sources [...]
> > make bombs on line 878 in the file gcc/resource.c
> > [...]
> > gcc -c -DIN_GCC -O6 -mpentiumpro -DHAVE_CONFIG_H -I. -I.
> > -I./config -I./../include resource.c
> > resource.c: In function `mark_target_live_regs':
> > resource.c:878: invalid type argument of `->'
> > [...]
> > regset regs_live = BASIC_BLOCK (b)->global_live_at_start;
I believe it should be
regset regs_live = REG_BASIC_BLOCK (b);
but to be honest it's nothing more than an educated guess.
> I just confirmed this. It looks like BASIC_BLOCK and REG_BASIC_BLOCK got
> mangled. Perhaps a (partial) renaming problem?
>
> I then tried to compile the 19990124 snapshot (egcs+patches for pgcc, latest
> form the Web server). Patches seemed to apply well, also no rejects, but I
> then get the following error. Did anyone actualy succeed with this snapshot?
If you change basic_block_end to BASIC_END and basic_block_head to
BASIC_HEAD, it should work.
Greets,
Marc Palmans
- Raw text -