1 /* { dg-do compile { target { nonpic } } } */
2 /* { dg-options "-fipa-pta -fdump-ipa-pta2 -fno-ipa-icf" } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */
5 struct X
{ char x
; char y
; };
9 static void __attribute__((noinline
))
15 void test1 (char a1
, char b
, char c
, char d
, char e
, char f
, char g
, char h
)
22 void test2 (struct X a2
, char b
, char c
, char d
, char e
, char f
, char g
, char h
)
29 void test3 (struct X a3
, char b
, char c
, char d
, char e
, char f
, char g
, char h
)
35 void test4 (int a4
, char b
, char c
, char d
, char e
, char f
, char g
, char h
)
37 char *p
= (char *)&a4
;
45 /* { dg-final { scan-ipa-dump "bar.arg0 = { test4.arg0 test3.arg0 test2.arg0 test1.arg0 }" "pta2" } } */