This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: writing a new pass: association with an option string
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: Diego Novillo <dnovillo at redhat dot com>, "Andrea Callia D'Iddio" <andrea dot calliadiddio at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 4 Dec 2006 15:47:48 +0200
- Subject: Re: writing a new pass: association with an option string
> Create a new flag in common.opt and read its value in the gate function
> of your pass. I *believe* this is documented somewher in the internals
> manual, but I'm not sure.
See also -
http://gcc.gnu.org/wiki/WritingANewPass