Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr31345-1.c
blobfb4d8034c55a65086a268813270f84c5fd477976
1 /* PR tree-optimization/31345
2 This caused a crash in VRP when dealing with overflow infinities. */
4 void
5 dpsnaffle (const char *kbuf)
7 int hash, thash, head[2], off;
9 int _DP_i;
10 (hash) = 19780211;
12 (hash) = (hash) + (kbuf)[_DP_i];
14 (hash) = ((hash) * 43321879) & 0x7FFFFFFF;
16 while (off != 0)
18 if (hash > thash) {}
19 else if (hash < thash)
21 off = head[2];