[Bug other/12076] gcov misreports coverage of return statement (for inline functions)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 28 08:02:00 GMT 2003
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-28 08:02 -------
The problem at -O3, gcc inlines more functions and in this case repeat is inlined so the
return is misreported because really is not executed at all (it is a no-op). I going to say
this is a non-bug because it really is not executed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
Summary|gcov misreports coverage of |gcov misreports coverage of
|return statement |return statement (for inline
| |functions)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12076
More information about the Gcc-bugs
mailing list