1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -fdump-ipa-icf-details"  } */
3 
4 int
mullo(int a,int b)5 mullo (int a, int b)
6 {
7   asm("mul %%edx   # %%1 was %1"
8       : "+"
9 	"a"(a),
10 	"+d"(b));
11   return a;
12 }
13 
14 int
mulhi(int a,int b)15 mulhi (int a, int b)
16 {
17   asm("mul %%edx   # %%1 was %1" : "+d"(a), "+a"(b));
18   return a;
19 }
20 
21 /* { dg-final { scan-ipa-dump "Equal symbols: 0" "icf"  } } */
22