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 [2024/07/23 18:15] asiewswan:bugs [2025/11/08 09:38] (current) asie
Line 3: Line 3:
 ===== gcc-ia16 ===== ===== gcc-ia16 =====
  
-  * In general, gcc-ia16's handling of far pointers is considered experimental. (In a wswan target contextthis means all accesses outside of the console's internal RAM.) Caveat emptor.+  * 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 DS != SS (wwitch target) is pretty buggy. It works for simple codebut complex pointer operations may lead to bugsAgain, 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.1721758541.txt.gz · Last modified: by asie