[kernel] Parsing vla_goto_same_block_above.i (no preprocessing) /* Generated by Frama-C */ int volatile nondet; /*@ assigns \nothing; frees p; */ __attribute__((__FC_BUILTIN__)) void __fc_vla_free(void *p); /*@ assigns \result; assigns \result \from \nothing; allocates \result; */ __attribute__((__FC_BUILTIN__)) void *__fc_vla_alloc(unsigned int size); int main(void) { int __retres; unsigned int __lengthof_vla; int i = 42; toto: ; /*@ assert alloca_bounds: 0 < sizeof(char) * i ≤ 4294967295; */ ; __lengthof_vla = (unsigned int)i; char *vla = __fc_vla_alloc(sizeof(char) * __lengthof_vla); if (nondet) { __fc_vla_free((void *)vla); goto toto; } __retres = 0; __fc_vla_free((void *)vla); return __retres; } int f(void) { int __retres; unsigned int __lengthof_vla; int i = 42; if (nondet) toto: ; /*@ assert alloca_bounds: 0 < sizeof(char) * i ≤ 4294967295; */ ; __lengthof_vla = (unsigned int)i; char *vla = __fc_vla_alloc(sizeof(char) * __lengthof_vla); if (nondet) { __fc_vla_free((void *)vla); goto toto; } __retres = 0; __fc_vla_free((void *)vla); return __retres; } int g(void) { int __retres; unsigned int __lengthof_vla; int i = 42; /*@ assert alloca_bounds: 0 < sizeof(char) * i ≤ 4294967295; */ ; __lengthof_vla = (unsigned int)i; char *vla = __fc_vla_alloc(sizeof(char) * __lengthof_vla); if (nondet) toto: ; if (nondet) goto toto; __retres = 0; __fc_vla_free((void *)vla); return __retres; }