tinycc/tests/tests2/126_bound_global.expect
herman ten brugge 087cf2e579 x86_64 bound checking failure
The code:
void mul(double *p)
{
    *p *= 2.0;
}

failed on x86_64 because register was not loaded after
bound checking call.
Also printed size when pointer indir failes.
2025-08-10 21:55:48 +02:00

3 lines
173 B
Plaintext

126_bound_global.c:11: at main: BCHECK: ........ (size 4) is outside of the region (..................)
126_bound_global.c:11: at main: RUNTIME ERROR: invalid memory access