Paul Eggert wrote: > > Do you happen to know whether gcc 17 will, when invoked with the option > > -Wstrict-overflow, report > > > > gcc: error: unrecognized command-line option ‘-Wstrict-overflow’ > > > > or will this be at most a warning? > > Surely the latter; that's the usual approach, taken for example with > -Wunsafe-loop-optimizations.
Indeed, the option will now be documented as "Does nothing. Preserved for backward compatibility." [1]. Bruno [1] gcc commit b31a43560e88600d412318f75a43ac8e562ba8c5
