wswan:bugs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wswan:bugs [2024/07/23 18:15] – asie | wswan:bugs [2026/01/10 20:50] (current) – [Bug: Miscompilations involving far function pointers] asie | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== gcc-ia16 ===== | ===== gcc-ia16 ===== | ||
| - | * In general, gcc-ia16' | + | * In general, |
| + | * gcc-ia16' | ||
| + | * gcc-ia16' | ||
| + | * The optimization levels '' | ||
| ==== Bug: Miscompilations involving far function pointers ==== | ==== Bug: Miscompilations involving far function pointers ==== | ||
| - | In some cases, when calling pointers from arrays of far function pointers in optimization modes >= -O1, the code will be miscompiled. This is a [[https://github.com/ | + | In some cases, when calling pointers from arrays of far function pointers in optimization modes >= -O1, the code will be miscompiled. This is a [[https://codeberg.org/ |
| One can work around this by annotating the affected function to be compiled without optimizations. In particular, one can create a separate function that //only// acts as a wrapper for the function call: | One can work around this by annotating the affected function to be compiled without optimizations. In particular, one can create a separate function that //only// acts as a wrapper for the function call: | ||
wswan/bugs.1721758541.txt.gz · Last modified: by asie
