This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reachable code discarded


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]