{"push_id":1314078711,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"560b6b60eb83c4776255a27e23e95fef73171cf5","before":"1349047c2e56a6482b21f1eb7aacc384c4e8f414","commits":[{"sha":"560b6b60eb83c4776255a27e23e95fef73171cf5","author":{"name":"Sebastian Pop","email":"8f75b2429f0eadd4f52f044985f400f00e35c583@gmail.com"},"message":"set the underlying value of “#pragma STDC FP_CONTRACT” on by default\n\nClang has the default FP contraction setting of “-ffp-contract=on”, which\ndoesn't really mean “on” in the conventional sense of the word, but rather\nreally means “according to the per-statement effective value of the relevant\npragma”.\n\nBefore this patch, Clang has that pragma defaulting to “off”. Since the\n“-ffp-contract=on” mode is really an AND of two booleans and the second of them\ndefaults to “off”, the whole thing effectively defaults to “off”. This patch\nchanges the default value of the pragma to “on”, thus making the default pair of\nbooleans (on, on) rather than (on, off). This makes FP optimization slightly\nmore aggressive than before when not using either “-Ofast”, “-ffast-math”, or\n“-ffp-contract=fast”. Even with this patch the compiler still respects\n“-ffp-contract=off”.\n\nAs per a suggestion by Steve Canon, the added code does _not_ require “-O3” or\nhigher. This is so as to try our best to preserve identical floating-point\nresults for unchanged source code compiling for an unchanged target when only\nchanging from any optimization level in the set (“-O0”, “-O1”, “-O2”, “-O3”) to\nany other optimization level in that set. “-Os” and “-Oz” seem to be behaving\nidentically, i.e. should probably be considered a part of the aforementioned\nset, but I have not reviewed this rigorously. “-Ofast” is explicitly _not_ a\nmember of that set.\n\nPatch authored by Abe Skolnik [a.skolnik@samsung.com] and Stephen Canon [scanon@apple.com].\n\nDifferential Revision: https://reviews.llvm.org/D24481\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282259 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-project/clang/commits/560b6b60eb83c4776255a27e23e95fef73171cf5"}]}
{"actor":{"display_login":"chapuni"}}