[Bug gcov-profile/90066] [GCOV] function with inline attribute leading to incorrect coverage for the "if" statement

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 12 14:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90066

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-04-12
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
This is again a test-case with a dead condition:

      _1 = check_int (&i, 64);
      i.0_2 = i;
      if (_1 != i.0_2) goto <D.1921>; else goto <D.1922>;
      <D.1921>:
      <D.1922>:


More information about the Gcc-bugs mailing list