2 // For slim LTO there's no optimized dump
3 // { dg-skip-if "" { *-*-* } { "-flto" } { "" } }
4 // { dg-additional-options "-fdump-tree-optimized" }
7 static int equalfn (volatile T* x, volatile T* y);
12 return equalfn (&x, &y);
14 static int equalfn (volatile T* x, volatile T* y)
19 // There should be exactly two volatile accesses (ignoring clobbers).
20 // { dg-final { scan-tree-dump-times " ={v} \[^\{\]" 2 "optimized" } }