1 /* { dg-do compile } */ 2 /* { dg-options "-O1 -fdump-tree-optimized" } */ 3 f(long * p)4 void f (long *p) { 5 *p = 42; 6 p[4] = 42; 7 __builtin_free (p); 8 } 9 10 /* { dg-final { scan-tree-dump-not "= 42" "optimized" } } */ 11 12