Error while using LOG_LINKS information.

kernel_learner kernel_learner@yahoo.com
Tue Apr 27 18:30:00 GMT 2004


Hi all,

 IN a machine-dependent-reorg pass that I am writing I
wrote a simple piece of code which traverses the
LOG_LINKS:

for(;insns;insns=NEXT_INSN(insns))
{
   for(link = LOG_LINKS (insns); link; link =
XEXP(link, 1));
}
This gives me a problem while building gcc:

make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory
`/home/SOK_STUFF/or1k/b-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory
`/home/SOK_STUFF/or1k/b-gcc/gcc'
make: *** [all-gcc] Error 2

I am sure that the problem is cause by this code since
if I take it away it builds PERFECT!

Is the LOG_LINKS information corrupted or invalid at
the machine dependent reorganization part. Or am I
traversing it wrong?

Thanks
KL


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



More information about the Gcc mailing list