This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build failure in libgcj
> >>>>> "Jan" == Jan Hubicka <jh@suse.cz> writes:
>
> >> I just updated the gcc trunk and rebuilt. I'm using x86 Red Hat Linux
> >> 6.2. Now the build fails in libgcj:
>
> Jan> Interesting.
> Jan> I was sending patch to care similar problem. Can you please get the
> Jan> backtrace of the crash?
>
> Appended.
THanks!
> #4 0x082bdf11 in find_basic_blocks (f=0x4062b0c0, nregs=4498, file=0x0)
> at ../../gcc/gcc/cfgbuild.c:649
> #5 0x08247dc1 in reg_to_stack (first=0x4062b0c0, file=0x0)
> at ../../gcc/gcc/reg-stack.c:444
Huh, the find_basic_block call in reg_to_stack most definitly should not
exist anymore. I am just testing the attached patch, but my local CVS
tree got screwed up, so it will take some time.
Honza
Wed Jun 5 10:28:42 CEST 2002 Jan Hubicka <jh@suse.cz>
* reg-stack.c (reg_to_stack): Do not rebuild CFG.
Index: reg-stack.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/reg-stack.c,v
retrieving revision 1.109
diff -c -3 -p -r1.109 reg-stack.c
*** reg-stack.c 4 Jun 2002 07:07:51 -0000 1.109
--- reg-stack.c 5 Jun 2002 08:28:32 -0000
*************** reg_to_stack (first, file)
*** 441,447 ****
build the CFG and run life analysis. */
if (!optimize)
{
- find_basic_blocks (first, max_reg_num (), file);
count_or_remove_death_notes (NULL, 1);
life_analysis (first, file, PROP_DEATH_NOTES);
}
--- 441,446 ----