[Bug other/12076] gcov misreports coverage of return statement (for inline functions)

r dot lichtenberger at icoserve dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 28 09:11:00 GMT 2003


------- Additional Comments From r dot lichtenberger at icoserve dot com  2003-11-28 09:11 -------
But the problem also occurs when using -O0 (no optimization). Here is how I
compiled:
[tanis@icotanis new]$ g++ -fprofile-arcs -ftest-coverage -O0 covtest.cc 

With -O0, the compiler should not inline, should it?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
            Version|3.2.2                       |3.2.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12076



More information about the Gcc-bugs mailing list