On 6/29/20 9:51 AM, Martin Liška wrote:
On 6/26/20 9:34 PM, Marek Polacek via Gcc-patches wrote:
As discussed last month:
<https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545879.html>
it's time to change the C++ default to gnu++17.  I've committed the patch after
testing x86_64-pc-linux-gnu and powerpc64le-unknown-linux-gnu.  Brace 
yourselves!

Marek


Just a small note that 510.parest_r SPEC 2017 benchmark can't be built now
with default changed to -std=c++17. The spec config needs to be adjusted.

Martin

And there one another failure in 520.omnetpp_r caused by run-time error:
<!> Error during startup: Register_Function() or cMathFunction: attempt to register 
function "SPEC_HYPOT" with wrong number of arguments 2, should be 3.

which is about call of std::__hypot3 which has newly 3 args since c++ 17:
https://en.cppreference.com/w/cpp/numeric/math/hypot

Martin

Reply via email to