This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] PR 61662



On 7/15/2014 11:10 AM, Uros Bizjak wrote:
Hello!

The detailed description and examples can be found in pr61662, but in short: using "#ifdef
__x86_64__" to determine the size of a 'long' does not reliably yield the correct result. This
causes _lrotl and _lrotr to return incorrect results on LLP64 systems (like Windows).

ChangeLog:
2014-07-09  David Wohlferd <dw@LimeGreenSocks.com>

         PR target/61662
         * config/i386/ia32intrin.h: Use __LP64__ to determine size of long
This is OK for mainline and 4.9 backport.

Thank you for reviewing and approving this. However while I have a release on file with FSF, I don't have SVN write permissions, so I cannot check this in.

dw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]