llvm-mos / llvm-mos-sdk

SDK for developing with the llvm-mos compiler
https://www.llvm-mos.org
Other
266 stars 53 forks source link

Erroneous errors for null pointer derefs on Commander X16 #232

Closed ToboterXP closed 10 months ago

ToboterXP commented 10 months ago

I'm rn trying to compile a large C project for the X16, but the compiler is warning me that all my null pointer derefs will get removed. Now, address 0 on the X16 is used for ram banking, so I have to dereference it rather frequently. Is there a way to avoid this?