diff options
author | Martin Liska <mliska@suse.cz> | 2021-06-01 15:13:18 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-06-11 11:58:20 +0200 |
commit | 8bf728aecc4fea46b4490e950b9ae229f90597b0 (patch) | |
tree | 9965a21f58d6bcaed177fb46f4880407f58bfd00 /gcc/fold-const.c | |
parent | 36943c6bdd3d3b535b24872bbd802d91ef0c6299 (diff) | |
download | gcc-8bf728aecc4fea46b4490e950b9ae229f90597b0.zip gcc-8bf728aecc4fea46b4490e950b9ae229f90597b0.tar.gz gcc-8bf728aecc4fea46b4490e950b9ae229f90597b0.tar.bz2 |
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.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions