https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117373
Bug ID: 117373 Summary: [15 regression] -Wunused-parameter warning in analyzer/infinite-loop.cc Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- x86_64-pc-linux-gnu-g++ -fPIC -c -DDEF_GENTOO_SCP -DDEF_GENTOO_ZNOW -DEXTRA_OPTIONS_CF -DEXTRA_OPTIONS -DGENTOO_FORTIFY_SOURCE_LEVEL=3 -DDEF_GENTOO_GLIBCXX_ASSERTIONS -O3 -march=nat ive -fno-semantic-interposition -mtls-dialect=gnu2 -fdiagnostics-color=always -Wa,-O2 -Wa,-mtune=znver4 -pipe -Werror=strict-aliasing -Werror=lto-type-mismatch -Werror=odr -ggdb3 -DI N_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -DHAVE_CONFIG_H -fPIC -I. -Ianalyzer -I/var/tmp/portage/sys-de vel/gcc-15.0.9999/work/gcc-15.0.9999/gcc -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/analyzer -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/../i nclude -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/../libcody -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/../libbacktrace -o analyzer/infinite-loop.o -MT analyzer/infinite-loop.o -MMD -MP -MF analyzer/.deps/infinite-loop.TPo /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/analyzer/infinite-loop.cc /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/analyzer/infinite-loop.cc: In member function ‘virtual bool infinite_loop_diagnostic::describe_final_event(pretty_printer&, const ana::evdesc::final_event&)’: /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/gcc/analyzer/infinite-loop.cc:226:52: warning: unused parameter ‘ev’ [-Wunused-parameter] 226 | const evdesc::final_event &ev) final override | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~