[EMAIL PROTECTED] wrote on 04/12/2006 10:48:25:
> Dear all, > I wrote a new pass for gcc. Actually the pass is always executed, but > I'd like to execute it only if I specify an option from shell (ex. gcc > --mypass pippo.c). How can I do? Maybe adding a gate to your pass which is controlled by a new flag; for example see pass_vectorize in passes.c and gate_tree_vectorize in tree-ssa-loop.c. Revital