The enclosed patch adds a new SigAtomicType to TargetInfo with the
intention of eventually using it to specify values for SIG_ATOMIC_MAX
and SIG_ATOMIC_MIN in clang's stdint.h. 

Currently, clang's stdint.h assumes that sig_atomic_t is a 32-bit signed
integer type on every target. This patch maintains that assumption. The
default type is 'signed int', which is 32-bits wide on all the supported
architectures except MSP430 and PIC16. On these, the default is
overridden with their 32-bit 'signed long int' type.

Reviews, comments appreciated. 

-Ken


Attachment: TargetInfo-sig-atomic-type.r89384.patch
Description: TargetInfo-sig-atomic-type.r89384.patch

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to