User Tools

Site Tools


wswan:bugs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wswan:bugs [2025/11/01 08:57] asiewswan:bugs [2025/11/08 09:38] (current) asie
Line 3: Line 3:
 ===== gcc-ia16 ===== ===== gcc-ia16 =====
  
-  * In general, if you run into a compiler error, try annotating the function with ''%%__attribute__((noinline, optimize("-O0"))) %%''.+  * In general, if you run into a compiler error or miscompilation, try annotating the function with ''%%__attribute__((noinline, optimize("-O0"))) %%'' as a workaround.
   * gcc-ia16's handling of far pointers is considered experimental. Caveat emptor.   * gcc-ia16's handling of far pointers is considered experimental. Caveat emptor.
   * gcc-ia16's handling of DS != SS (wwitch target) is pretty buggy. It works for simple code, but complex pointer operations may lead to bugs. Again, caveat emptor.   * gcc-ia16's handling of DS != SS (wwitch target) is pretty buggy. It works for simple code, but complex pointer operations may lead to bugs. Again, caveat emptor.
 +  * The optimization levels ''%%-O0%%'', ''%%-O2%%'' and ''%%-Os%%'' are most stable (roughly in that order).
  
 ==== Bug: Miscompilations involving far function pointers ==== ==== Bug: Miscompilations involving far function pointers ====
wswan/bugs.1761987420.txt.gz · Last modified: by asie