We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f02532a + 00f95f8 commit ed48947Copy full SHA for ed48947
regression/cbmc/Computed-Goto1/main.c
@@ -1,6 +1,6 @@
1
int main()
2
{
3
- void *table[]={ &&l0, &&l1, &&l2 };
+ static void *table[] = {&&l0, &&l1, &&l2};
4
int in, out;
5
6
if(in>=0 && in<=2)
src/ansi-c/c_typecheck_expr.cpp
@@ -4520,6 +4520,8 @@ class is_compile_time_constantt : public is_constantt
4520
}
4521
else if(e.id() == ID_array && e.get_bool(ID_C_string_constant))
4522
return true;
4523
+ else if(e.id() == ID_label)
4524
+ return true;
4525
else
4526
return is_constantt::is_constant_address_of(e);
4527
0 commit comments