https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847

johannes.ziegenbalg at mailbox dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannes.ziegenbalg@mailbox
                   |                            |.org

--- Comment #2 from johannes.ziegenbalg at mailbox dot org ---
I get the same bug with GCC 10.2.0 in one of my c++ test-cases.
I also tested GCC 11 (GNU Fortran (GCC) 11.0.0 20201029) with the attached file
and got the same result.

After a little digging I found out that the expanded region for 'sbr' starts at
line 8 (`use foo`) and ends at line 4 (`end subroutine sbr`).

But I have no idea why `expand_location` returns line 8.
  • [Bug gcov-profile/9584... johannes.ziegenbalg at mailbox dot org via Gcc-bugs

Reply via email to