[Bug target/40722] [4.5/4.6 Regression] ia32intrin.h defines of _rotl, _rotr conflict with target stdlib.h decls

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 3 10:06:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40722

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-03 10:05:58 UTC ---
Created attachment 23233
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23233
gcc46-pr40722.patch

Modified H.J.'s patch which just adds ()s around _rotl/_rotr/_lrotl/_lrotr
names in their prototypes, all I've tested is the sed command on mingw.org and
mingw64 stdlib.h and eyeballed the differences.
Can anyone please test this both with mingw64 and mingw.org stdlib.h?
Thanks.



More information about the Gcc-bugs mailing list