================ @@ -2997,6 +2997,7 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D, LangOptions::ComplexRangeKind Range = LangOptions::ComplexRangeKind::CX_None; std::string ComplexRangeStr = ""; std::string GccRangeComplexOption = ""; + std::string LastComplexRangeOption = ""; ---------------- andykaylor wrote:
I don't think I remember during our Discourse discussion of this that there was already a `GccRangeComplexOption` variable here. Do we really need another variable? If you just set GccRangeComplexOption to empty for `-ffast-math` and `-fno-fast-math`, would that give us reasonable diagnostics? https://github.com/llvm/llvm-project/pull/132680 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits