> The "problem" is that setting both always inserted and displaced > stepping on, actually fixes PR7143. That is, the test sets a > watchpoint on X, and assumes that it does not trigger. But, it > actually should trigger. Sometimes, I'm not sure what, if anything, goes through my brain... You're right, of course. > I notice that what the Foo procedure does is not really important, > so an easy fix is to make Foo not touch X, thus we have the same > behavior even if PR7143 is fixed. I would rather make sure that X still gets referenced, to make sure a smart tool/compiler/linker does not play games. Can you try the attached? -- Joel