News for hackers. Stuff that matters.
Re:Firm: a C library with graph-based IR suitable for compilers by PeCaN on Monday January 18, 2016 @12:00PM (#10925425)
0-length arrays are a GNU C extension[1].

In ISO C99, they're only permitted as the last member of a struct with another member, and are written with an empty pair of brackets[] and no 0.

1. https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html

Re:Firm: a C library with graph-based IR suitable for compilers by lindig on Monday January 18, 2016 @12:09PM (#10925467)
The compiler is described on its home page as "accompanying GCC-compatible C frontend." So what does this mean with respect to GCC features? In any case, I don't think the compiler should crash but report a syntax error.
Re:Firm: a C library with graph-based IR suitable for compilers by Rotluchs on Monday January 18, 2016 @01:02PM (#10925778)
It's sufficiently compatible to handle e.g. glibc, which is quite a feat, because it uses many and somewhat obscure gcc extensions.