Trying to add this test to valdiag:
/* bug-3031.c
Initialization of file-scope variables by an expression that contains function calls resulted in a segfault in codegen.
*/
#ifdef TEST1
float f(int);
int i;
float d = f(i); /* ERROR */
#endif
It fails since the error message for some ports is on the following line.
Diff:
Fixed in [r13679].
Related
Commit: [r13679]