[llvm-bugs] [Bug 39210] [AVR] uint32_t is incorrectly compiled to i16
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 7 12:27:34 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39210
Ayke van Laethem <aykevanlaethem at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #2 from Ayke van Laethem <aykevanlaethem at gmail.com> ---
Yeah, I was just about to post a comment saying I found the issue (that it
includes /usr/include/stdint.h from the host).
With -nostdlibinc this problem appears to be fixed. Maybe it's an idea to add
this option to https://clang.llvm.org/docs/CrossCompilation.html?
Offtopic: with this extra flag most of compiler-rt compiles (some files still
report an invalid shift count), however it doesn't seem to work well and not
all required functions are implemented so I'll keep using libgcc for now.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181007/92c6157a/attachment.html>
More information about the llvm-bugs
mailing list