This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
infinite loop in calculate_global_regs_live
- To: gcc at gcc dot gnu dot org
- Subject: infinite loop in calculate_global_regs_live
- From: "Michael Staudenmaier (r46720)" <michael dot staudenmaier at motorola dot com>
- Date: Wed, 14 Feb 2001 18:19:12 +0100
- Organization: Motorola SPS
hello,
i am currently working on a port of gcc to a new platform using the
latest snapshot of gcc-core (20010205).
Trying to compile testsuites/gcc.c-torture/compile/920501-4.c ends up in
an infinite loop in calculate_global_regs_live.
The produced rtl code looks quite reasonable, the problem seems to be
that the graph of the basic_blocks contains something like a loop.
Queuing all predecessors of the actual basic_block (at the end of the
while loop) causes an infinite analysis of a sequence of 7 basic_blocks.
Questions:
Is there any prerequisite to the form of the graph of basic_blocks?
Any proposals where i should continue digging for that bug?
regards,
Michael