This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Middle-end dead code elimination
- From: "S. Bosscher" <S dot Bosscher at student dot tudelft dot nl>
- To: 'Roger Sayle' <roger at www dot eyesopen dot com>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 29 Mar 2003 19:32:10 +0100
- Subject: [PATCH] Middle-end dead code elimination
> The following patch implements limited syntax-directed dead code
> elimination in GCC's middle-end. The theory is that now that we
> have function-at-time compilation its possible for GCC's expanders
> to avoid generating RTL that it knows is unreachable.
No please. First of all, like you said, this work will be
superceded by the tree-ssa work. Second, unless I'm missing
something you may be breaking a few cases of -Wunreachable-code.
That warning happens to be broken already (PR 10175) so it is
not possible right now to see the effects of your patch on it.
Greetz
Steven