This is the mail archive of the gcc-patches@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]

[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


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