Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr87197.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ int a, c, e, f, g; void h (int i) { a = i; } void j (char *i, long k) { while (k--) c = *i++; } void l (unsigned char *i, long k) { unsigned char *b = i + k; while (i < b) { h (*i); i++; } } void m () { while (e) { float d = g; l ((char *) &d, sizeof (g)); if (f) j ((char *) &d, sizeof (g)); } }