https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100788
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:8bf728aecc4fea46b4490e950b9ae229f90597b0 commit r12-1383-g8bf728aecc4fea46b4490e950b9ae229f90597b0 Author: Martin Liska <mli...@suse.cz> Date: Tue Jun 1 15:13:18 2021 +0200 Introduce -Wcoverage-invalid-line-number PR gcov-profile/100788 gcc/ChangeLog: * common.opt: Add new option. * coverage.c (coverage_begin_function): Emit warning instead on the internal compiler error. * doc/invoke.texi: Document the option. * toplev.c (process_options): Enable it by default. gcc/testsuite/ChangeLog: * gcc.dg/pr100788.c: New test.