Re: [PATCH] manywarnings: -Wstrict-overflow is deprecated
Bruno Haible via Gnulib discussion list <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Organization | GNU |
| Message-ID | <2868947.mvXUDI8C0e@nimes> |
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