[hubicka@ucw.cz: Re: EH notes and split instructions]
Jan Hubicka
jh@suse.cz
Thu Mar 7 07:52:00 GMT 2002
> On Thu, 2002-03-07 at 06:33, Jan Hubicka wrote:
> > Hmm, I feel ashamed to ask:
> > bash-2.04$ ./jc1 -O2 EngineUtils.java
> > EngineUtils.java:0: Can't find default package `java.lang'. Check the CLASSPATH
> > environment variable and the access to the archives
> > 1 error
>
> jc1 is complaining that it can find the core class files. These are
> installed as libgcj.jar. If you don't have this installed, and you have
> it built in your build directory, use "jc1
> -fclasspath=/path/to/libgcj.jar". If you don't even have it built, but
> have a configured tree, you might be able to get away with "jc1
> -fclasspath=/path/to/libjavasrc:/path/to/libjavabuild".
Should be fixed by attached patch.
I've bootstrapped it and going to install it as obivous to mainline.
OK for the branch?
Thu Mar 7 16:49:18 CET 2002 Jan Hubicka <jh@suse.cz>
* reload1.c (reload_cse_delete_noop_set): Purge dead edges.
Index: reload1.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/reload1.c,v
retrieving revision 1.326
diff -c -3 -p -r1.326 reload1.c
*** reload1.c 2002/03/06 23:07:08 1.326
--- reload1.c 2002/03/07 15:47:19
*************** static void
*** 8019,8024 ****
--- 8019,8025 ----
reload_cse_delete_noop_set (insn, value)
rtx insn, value;
{
+ bool purge = BLOCK_FOR_INSN (insn)->end == insn;
if (value)
{
PATTERN (insn) = gen_rtx_USE (VOIDmode, value);
*************** reload_cse_delete_noop_set (insn, value)
*** 8027,8032 ****
--- 8028,8035 ----
}
else
delete_insn (insn);
+ if (purge)
+ purge_dead_edges (BLOCK_FOR_INSN (insn));
}
/* See whether a single set SET is a noop. */
More information about the Gcc-bugs
mailing list