summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr23433.c
blob: 464d4b542548eee35226a315e4f0c9793b6901cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */

double transport_sumexp(int numexp)
{
  int k,j;
  double xk1 = 1.0;
  for(k=1; k<=numexp;k++)
    for(j=1;j<=3;j++)
      xk1 += 1.0;
  return xk1;
}