aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-21 11:23:53 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-26 12:40:50 +0000
commit1c2dfa1f4bb162678c293788678f6790514cb7ba (patch)
tree19839532c07194f05bb5dcba8d5846256dd3eb62 /TODO
parent4886d2c64002cfa616bf68875a1fc66e27854e9a (diff)
downloadtinycc-1c2dfa1f4bb162678c293788678f6790514cb7ba.tar.gz
tinycc-1c2dfa1f4bb162678c293788678f6790514cb7ba.tar.bz2
Change the way struct CStrings are handled.
A CString used to be copied into a token string, which is an int array. On a 64-bit architecture the pointers were misaligned, so ASan gave lots of warnings. On a 64-bit architecture that required memory accesses to be correctly aligned it would not work at all. The CString is now included in CValue instead.
Diffstat (limited to 'TODO')
-rw-r--r--TODO1
1 files changed, 0 insertions, 1 deletions
diff --git a/TODO b/TODO
index 4ed2365..e6e5b07 100644
--- a/TODO
+++ b/TODO
@@ -36,7 +36,6 @@ Portability:
- it is assumed that int is 32-bit and sizeof(int) == 4
- int is used when host or target size_t would make more sense
-- struct CString is written into an int array and ends up misaligned
- TCC handles target floating-point (fp) values using the host's fp
arithmetic, which is simple and fast but may lead to exceptions
and inaccuracy and wrong representations when cross-compiling