> void vide(void); __asm__("vide: ret");
> int main() {
>    vide();
>    return 0;
> }

No switch is needed. if (nocode_wanted) then this feature is used. Not
perfect, but there is no flag indicating compilation of the function
body.
https://github.com/seyko2/tinycc/commit/97b41548083fbe5332dbace8eb35390c5215a833

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to