It lists -Wreorder as a warning, and says it's enabled by -Wall . It lists -Wno-pessimizing-move as a warning, and says it's enabled by -Wall .
I think the documentation should be edited to not list -Wno-pessimizing-move , and instead list -Wpessimizing-move .
https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/C_002b_002b-Dia...
reply