aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gimplefe-23.c
blob: 05f87ed4df4e4e981b72f3cf18f0acdc1b81fdbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* { dg-do compile } */
/* { dg-options "-fgimple" } */

short int __GIMPLE ()
foo (short int s)
{
  short int D_1803;

bb_2:
  D_1803 = s;

L0:
  return D_1803;

}

int __GIMPLE ()
main (int argc, char * * argv)
{
  short int s;
  int D_1805;
  int _1;
  short _2;

bb_2:
  s = (short int) argc;
  _1 = (int) s;
  _2 = foo (_1);
  D_1805 = (int) _2;

L0:
  return D_1805;
}