https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405
Andrew Pinski changed:
What|Removed |Added
Component|c |c++
--- Comment #1 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405
--- Comment #4 from Andrew Pinski ---
Setting to =off for -std=c* (and not -std=c++*) was done in
r0-126303-g6dbe09581a1349.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405
--- Comment #3 from Andrew Pinski ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902#c36
So this is by design. Except maybe C++ front-end should change too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405
--- Comment #2 from Andrew Pinski ---
If you used -std=gnu11, -std=gnu++11 then the setting would be -ffp-contract=on