PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / pr82001.c
blob05e32b10ef570f2310201c89aa5c1074bf25cde1
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -fdump-ipa-icf-details" } */
4 int
5 mullo (int a, int b)
7 asm("mul %%edx # %%1 was %1"
8 : "+"
9 "a"(a),
10 "+d"(b));
11 return a;
14 int
15 mulhi (int a, int b)
17 asm("mul %%edx # %%1 was %1" : "+d"(a), "+a"(b));
18 return a;
21 /* { dg-final { scan-ipa-dump "Equal symbols: 0" "icf" } } */