2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46893.c
blobef97e2edfd2a5bf84f39dc1b7b9042bbaa88317f
1 /* PR debug/46893 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -g" } */
5 void
6 foo (void)
8 union { unsigned long long l; double d; } u = { 0x7ff0000000000000ULL };
9 double v = 0, w = -u.d;
11 if (w)
12 w = v;