www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/03/17/07:17:52

Sender: root AT eduserv1 DOT rug DOT ac DOT be
Message-ID: <36EF9AFA.9D07F421@rug.ac.be>
Date: Wed, 17 Mar 1999 13:07:22 +0100
From: Marc Palmans <marc DOT palmans AT rug DOT ac DOT be>
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.2.2 i686)
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: Re: Problems compiling pgcc from CVS
References: <19990316200314 DOT A4892 AT physik DOT fu-berlin DOT de>
Reply-To: pgcc AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019