jc1 woes

Per Bothner per@bothner.com
Wed Mar 14 22:53:00 GMT 2001


While trying to get gcj on the the main trunk running, I ran into
various problems.  One confusing thing is the use of a mix of
pushlevel/poplevel (block is allocated at the end, by poplevel), and
enter_block/exit_block (block is allocated at beginning, by
enter_block).  pushlevel/poplevel seems to be used for the procedure
scope, but enter_block/exit_block are used for inner blocks.  While
trying to get things working again, I got it so no debugging symbols
were being emitted for local variables.  I verified that gcj "2.96" as
installed on Red Hat 7 *does* emit local variable debug info.  I then
tried to build the gcc 3 compiler to see if it emits the debug symbols
- but I can't do that, because jc1 gets into an infinite loop while
trying to build ConcreteProcess in libjava.  Sigh.  So now neither cvs
branch will produce a useable compiler.  This is disappointing.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/



More information about the Java mailing list