Hi Tobias, > Have you tried -fdump-tree-original? Then you understand why it fails: I understand how it fails the way gcc implements this. I was asking if gcc's implementation had a bug, or if my program was wrong. (I'll fix the bug by making all temporary variables PRIVATE - this seems to be the clearest solution in this case). Thomas