summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr41987.c
blob: 7bb49192c1d1a23592d0071a0cfae3fae5bd01d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* PR tree-optimization/41987 */

#define TESTIT(TYPE) do { \
  _Complex TYPE ylm; \
  TYPE nbond; \
  ylm = 0; \
  nbond = 0; \
  ylm = ylm / nbond; \
} while (0)

void qparm_colvar(void)
{
  TESTIT (float);
  TESTIT (double);
  TESTIT (long double);

  TESTIT (char);
  TESTIT (short);
  TESTIT (int);
  TESTIT (long);
  TESTIT (long long);
}