1 /* { dg-do compile } */ 2 /* { dg-require-effective-target fpic } */ 3 /* { dg-options "-O1 -fno-semantic-interposition -fdump-tree-optimized -fPIC" } */ t(void)4int t(void) 5 { 6 return 1; 7 } q(void)8int q(void) 9 { 10 return t(); 11 } 12 /* { dg-final { scan-tree-dump-times "return 1" 2 "optimized"} } */ 13