spatel added a comment. In https://reviews.llvm.org/D39812#919699, @wristow wrote:
> Yes, I think we want to match that behavior. But by "light up" 'nsz' and the > no-trapping-math attribute, do you mean automatically turn them on when > '-fassociative-math' is specified? I'd think it should be the other way > around: Suppress the effect of '-fassociative-math' unless both > '-fno-signed-zeros' and '-fno-trapping-math' are also specified. Yes, my reading of the gcc docs was off. The code appears to match your understanding: https://godbolt.org/g/Vau3cv So we'll restrict the effect of -fassociative-math based on the presence of the other flags...more spaghetti needed. :) https://reviews.llvm.org/D39812 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits