Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-2.c
blobd1eabf69bae5b5059f629ac385fb2e7049d31910
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre-details" } */
4 /* From PR14287. */
6 short g, h;
8 void
9 foo (long a)
11 short b = a & 3;
12 long c = b;
13 g = c;
14 h = c;
17 /* { dg-final { scan-tree-dump "Replaced \\\(short int\\\) c_.*with b_" "fre" } } */
18 /* { dg-final { cleanup-tree-dump "fre" } } */