This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to know which front end?
- From: David Daney <ddaney at avtrex dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 28 Oct 2005 08:44:02 -0700
- Subject: How to know which front end?
I am hacking up an optimization pass that re-writes some calls to
libgcj. Since this pass is only useful if the source is generating
calls to functions in libgcj, I only want to enable it if this is likely
to be the case.
Q: Is there some predicate that can be used in the gate of a tree
optimizer to disable the pass if not being called via the java front-end?
Thanks,
David Daney