You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The files parallel_for-027ba3.c, parallel_for-a69345.c and parallel_for-027ba3.sh are too large to be pasted here, and there is no attachment option. I can provide them by email if required.
Best regards,
Andreas Hindborg
The text was updated successfully, but these errors were encountered:
I wonder whether this is valid code: I've never seen an array declaration in C with the size being a variable...
Replacing it with a compile-time constant or calls to malloc / free works for me.
I guess this is valid C99 code. Variable-array-size types require special code to be dealt with in several places of the code emission, but in this case this happens in the semantic analyzer. I'll have to investigate to see what's wrong.
Hi,
The following program fails to parse and crashes the compiler:
Output from clang:
The files parallel_for-027ba3.c, parallel_for-a69345.c and parallel_for-027ba3.sh are too large to be pasted here, and there is no attachment option. I can provide them by email if required.
Best regards,
Andreas Hindborg
The text was updated successfully, but these errors were encountered: