This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/12076] gcov misreports coverage of return statement (for inline functions)
- From: "r dot lichtenberger at icoserve dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2003 09:11:10 -0000
- Subject: [Bug other/12076] gcov misreports coverage of return statement (for inline functions)
- References: <20030827093414.12076.r.lichtenberger@icoserve.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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