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 c++/12076] gcov misreports coverage of return statement [NRV]



------- Comment #15 from hubicka at gcc dot gnu dot org  2007-05-06 15:31 -------
The problem with NRV transformation is that it removes the return statement
from default path and keeps it in the catch path making GCOV to properly output
it as unexecuted.  I tried to look into the NRV modify_expr withing return_expr
but it is not the place to find the proper locator, looks like NRV itself needs
to be updated.

Honza


-- 


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]