[PATCH] D27123: Add AVR target and toolchain to Clang
Jonathan Roelofs via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 6 07:25:33 PST 2016
jroelofs added a comment.
In https://reviews.llvm.org/D27123#614313, @saaadhu wrote:
> Add testcases to test/Preprocessor/init.c
Awesome, thanks!
> Correct types for WChar and WInt
>
> The ABI is documented in the avr-gcc wiki (https://gcc.gnu.org/wiki/avr-gcc)
> I took the output of a trunk build of avr-gcc -dM -E and put that in the Preprocessor/init.c testcase, removing everything clang does not define.
Good plan.
> The conflicting defines were
>
> 1. DBL and LDBL related defines - clang appears to consider doubles as 64 bit even if DoubleWidth is 32 bit
I /think/ you need to set LongDoubleFormat for that to work.
> 2. SIG_ATOMIC defines.
What are the differences there?
https://reviews.llvm.org/D27123
More information about the cfe-commits
mailing list