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]

Help: does define_peephole still work in gcc-4.2.4


Hi all:
???? 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
"HAVE_peephole",
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!
--
Best Regards.


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