[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] how to name a switch
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] how to name a switch |
Date: |
Sat, 30 Apr 2016 19:09:52 +0300 |
> 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