This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Reachable code discarded
- From: Richard Henderson <rth at redhat dot com>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 27 Jul 2002 15:13:36 -0700
- Subject: Re: Reachable code discarded
- References: <87r8hqqz6c.fsf@fadata.bg>
On Fri, Jul 26, 2002 at 06:36:11PM +0300, Momchil Velikov wrote:
> Consider the following x.c.09.cse. The ``(label_ref:SI 16)'' in insn
> #48 constitutes an edge in the cfg ...
No it doesn't. The presense of label_ref 16 in the jump table at
insn 54 constitutes the edge.
> ``edge'' for it. Later, the jump from insn #52:#54 to insn #16 is
> redirected to insn #64 and the basic block starting at insn #16 is
> deleted.
Indeed. This is not a bug in the optimizers, but a representational
problem in the backend. What in the world are you trying to do with
that insn 48?
r~