See slides 18-35 in http://gcc.gnu.org/wiki/OptimizationCourse?action=AttachFile&do=get&target=ExampleGCC_middle.pdf (linked from http://gcc.gnu.org/wiki/OptimizationCourse).
dorit > 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? > > Thanks to all > > Andrea