aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr115383.c
blob: 92c24699146e821ea42d498fe747c1f4f4225252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "tree-vect.h"

int __attribute__((noipa))
s331 (int i, int n)
{
  int j = 0;
  for (; i < n; i++)
    if ((float)i < 0.)
      j = i;
  return j;
}

int main()
{
  check_vect ();
  int j = s331(-13, 17);
  if (j != -1)
    abort ();
  return 0;
}