1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-fre1" } */ 3 4 struct s 5 { 6 int *__restrict__ *__restrict__ pp; 7 }; 8 9 int f(struct s s,int * b)10f (struct s s, int *b) 11 { 12 *b = 1; 13 **s.pp = 2; 14 return *b; 15 } 16 17 /* { dg-final { scan-tree-dump-times "return 1" 1 "fre1" } } */ 18