Hi Kalyan, > opt -strip-dead-prototypes -f <filename.bc> filename2.bc you have to specify the list of passes to run. -strip-dead-prototypes only removes unused declarations. If there are none, it will do nothing. Try: opt -std-compile-opts -f <filename.bc> filename2.bc Ciao, Duncan.