[tree-ssa][java] fix some -O3 test cases

Richard Henderson rth@twiddle.net
Wed Dec 3 20:01:00 GMT 2003


On Wed, Dec 03, 2003 at 09:19:23AM -0500, Jeff Sturm wrote:
> Oddly enough, these didn't fail before 11-21.  I agree with your
> assessment, but I'm still curious why this just started breaking then.

It must be 

	* class.c (finish_class): Kill code to output_inline_function.

that exposed the problem.

> though that won't prevent changing the calling conventions as you say.

For mainline, perhaps it is enough to just explicitly tell cgraph
that all functions are addressable , rather than trying to wait for
all the references to be seen naturally.  E.g. call 

	cgraph_mark_needed_node (cgraph_node (fndecl));

immediately before cgraph_finalize_function.


r~



More information about the Java-patches mailing list