This is the mail archive of the
mailing list for the GCC project.
Help: does define_peephole still work in gcc-4.2.4
- From: "Amker.Cheng" <amker dot cheng at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 11 May 2009 18:18:43 +0800
- Subject: Help: does define_peephole still work in gcc-4.2.4
???? Currently I am studying peephole optimization in gcc.
I defined a peephole using "define_peephole", but nothing happened.
It seems gcc does do the pattern match work in codes surrounded by
but codes from "out-template" in that "define_peephole" are not
compiled into gcc at all.
I know "define_peephole" is deprecated, so not sure about whether
define_peephole still works in gcc-4.2.4,
or I just missed something important?
Thanks, any tips will be appreciated!