weiguozhi
weiguozhi
The problem is with the default -fno-trapping-math, compiler may speculate fp instructions, these instructions results may not actually be used by the intending computing at run time, but they still...
> @weiguozhi do you have a concrete issue? We realize what compilers do, and they get it wrong more often than would be nice even with the right flags. But...
@seberg thank you for your help! We should do the same thing.
I met the same problem when building glib. Since lack of __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, it caused the glib configuration failed.
> Hrm, and you're compiling this for arm, right? Not for x86 :) Yes, it is indicated in the title.
Fixed by r245253.
It's OK to me.
assigned to @nemanjai
> Hi Carrot, I'm wondering if you have posted this change on Phabricator > and/or committed the change. http://reviews.llvm.org/D14596
I have another patch that can also fix this problem. The function SROA.cpp:findCommonType always looks for integer type if there are multiple different types, this is not reasonable. My patch...