r316046 - Basic: fix __{,U}INTPTR_TYPE__ on ARM

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 05:15:25 PDT 2017


On Wed, Oct 18, 2017 at 12:00:51AM -0000, Saleem Abdulrasool via cfe-commits wrote:
> Author: compnerd
> Date: Tue Oct 17 17:00:50 2017
> New Revision: 316046
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=316046&view=rev
> Log:
> Basic: fix __{,U}INTPTR_TYPE__ on ARM
> 
> Darwin and OpenBSD are the only platforms which use `long int` for
> `__INTPTR_TYPE__`.  The other platforms use `int` in 32-bit, and `long
> int` on 64-bit (except for VMS and Windows which are LLP64).  Adjust the
> type definitions to match the platform definitions.  We now generate the
> same definition as GCC on all the targets.

This is false as the test changes show.

Joerg


More information about the cfe-commits mailing list