[PATCH] Define _LLP64 for appropriate targets

Ozkan Sezer sezeroz@gmail.com
Wed Aug 19 12:16:00 GMT 2009


On Wed, Aug 19, 2009 at 12:23 PM, Richard
Guenther<richard.guenther@gmail.com> wrote:
> On Wed, Aug 19, 2009 at 10:14 AM, Ozkan Sezer<sezeroz@gmail.com> wrote:
>> The attached patch makes gcc to define _LLP64 and __LLP64__ for
>> targets such as _WIN64.  This would make life easier especially
>> for the testsuite where there is the check_effective_target_llp64
>> for target requirements but no cpp predefined macro for typedefs,
>> etc.  OK for mainline (and 4.4 branch)?
>> (I don't have svn access.)
>> (also attaching the patch in case gmail mangles whitespace.)
>
> Do these macros follow what MSVC maybe defines on win64?

MSVC doesn't seem to define it for win64.

> Are there other LLP64 targets where the vendor compiler has
> such definitions?

Not that I know of.  The only llp64 weirdo that I know is win64 for the
moment, but it's just me.  I don't care about other compilers, either
(although, I briefly looked at lcc-win64 and it doesn't seem to define
_LLP64.)



More information about the Gcc-patches mailing list