> GCC will obviously _never_ introduce a BUG(), I never said that, the
> above example is only meant to show what GCC is _allowed_ to do and what
> we have to do to write correct C code.
"Correct" C code as in portable C code? Standards compliant so it's portable
to other compilers?
The linux kernel is compiled on gcc. It always has been. Specific versions
of the kernel have a specific range of "known working" gcc versions that in
the past have produced a functional result. gcc is -ALLOWED- to compile code
the way Borland, Watcom, or Microsoft C compilers do. Assuming somebody
wants to rewrite gcc from scratch and still call the result gcc...
Standards are fun, but we don't even thread posixly yet...
Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/