ilinpv added a comment. Outline atomics are dependent on runtime library availability ( libgcc or compler-rt ). If there are no proper library available they will be disabled. So if in freestanding mode compiler is not dependent on runtime library you can remove it and get rid of outline atomics calls automatically. Having runtime library in freestanding mode you can disable outline atomics specifying ##-mno-outline-atomics## option. But disabling them just by ##-ffreestanding## option will create divergence with GCC behaviour, which has outline atomics not disabled in this case.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159398/new/ https://reviews.llvm.org/D159398 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits