[Patch] PR 61662
David Wohlferd
dw@LimeGreenSocks.com
Wed Jul 9 07:51:00 GMT 2014
As requested, I am posting this patch to gcc-patches.
Problem description:
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
dw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ia32intrin.h.patch
Type: text/x-patch
Size: 890 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140709/281d03da/attachment.bin>
More information about the Gcc-patches
mailing list