[PATCH] [ASan] Get fake stack code working with GCC 4.8.2.

Jay Foad jay.foad at gmail.com
Mon Nov 17 01:59:13 PST 2014


>>! In D6266#12, @samsonov wrote:
> Did you try -ffreestanding flag?

Yes. It doesn't help.

To quote the GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888
"Thus, from 4.8.3, 4.9.1 and 4.10.0 on -ffreestanding, -fno-hosted and -fno-builtin
will cause -ftree-loop-distribute-patterns to _not_ be enabled by default
with -O3+ (you can still enable it manually)."

http://reviews.llvm.org/D6266






More information about the llvm-commits mailing list