On Thu, Nov 01, 2012 at 01:57:40PM -0700, Xinliang David Li wrote: > I looked at it pretty late in the pipeline -- during cfgexpand and I > had specified -O2 in the command line.
That was too late, ivopts pass (after pre where tsan pass was put around) marks it TREE_ADDRESSABLE again, because it creates IV with initial value &a[0]. Jakub