1 /* PR tree-optimization/82929 */
2 /* { dg-do compile { target store_merge } } */
3 /* { dg-options "-O2 -fno-tree-vectorize -fdump-tree-store-merging" } */
6 foo (short *p
, short *q
, short *r
)
8 p
= __builtin_assume_aligned (p
, __alignof__ (int));
9 q
= __builtin_assume_aligned (q
, __alignof__ (int));
10 r
= __builtin_assume_aligned (r
, __alignof__ (int));
21 /* { dg-final { scan-tree-dump-times "Merging successful" 1 "store-merging" } } */