Re: [PATCH] Introduce -Wcoverage-invalid-line-number

2021-06-09 Thread Jeff Law via Gcc-patches
On 6/1/2021 8:09 AM, Martin Liška wrote: Hello. As seen in the PR, one can easily corrupt line number information and we can end up with a function that ends before it starts ;) I'm adding a new warning for that instead of the ICE. Patch can bootstrap on x86_64-linux-gnu and survives regress

[PATCH] Introduce -Wcoverage-invalid-line-number

2021-06-01 Thread Martin Liška
Hello. As seen in the PR, one can easily corrupt line number information and we can end up with a function that ends before it starts ;) I'm adding a new warning for that instead of the ICE. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Ma