ilinpv added a comment. > I understand that you could disable it with extra option and that for now it > would be different with gcc, but it looks debatable to me that such a > behaviour in gcc is correct and expected, maybe someone need to change it > there too. (Please keep in mind that I might be wrong with my position and > during discussion please consider this patch as NFC so we could discuss here > am I right or not :)). My point is that the gcc is not a golden standard in > this questions too and in my mind such a behaviour (disabling extra > dependencies in freestanding mode without passing extra flags) would be > expected the very same way the -fno-builtint get's auto implied with > -ffreestanding flag passed.
I think we are on the same page here. I am not a freestanding mode user and respect opinions of real users, but we need to keep compilers aligned, so to make such changes we need GCC community consensus as well. 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