> The reason for posting this is to ask. Is there code in GCC that > already does something "similar" in say one of the optimisation passes > so i can get a look at how to get started on this? ipa-pure-const.c -- Eric Botcazou