This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]