Int function should return a value
With gcc-14 toolchain the dynamic and dynamic-double testcases were ending up with SIGILL (Illegal instruction) without this update.
This commit is contained in:
parent
ebfa6a5d80
commit
a41d43f84f
2 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ void incr2(void)
|
|||
int function_name(void)
|
||||
{
|
||||
fprintf(stderr, "FUNCTION EXECUTED. VALUE = %i\n", a);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ void incr(void)
|
|||
int function_name(void)
|
||||
{
|
||||
fprintf(stderr, "FUNCTION EXECUTED. VALUE = %i\n", a);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue