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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
> We can find that Line #4 is marked as not executed. While Line #5 is wrongly
> maked as executed.
> 
> I am not sure whether it is same with bug 83465. 
> As stated by Martin Liška, GCC emits variable initiation for arrays by using
> default value in assembly. As such, Line #5 should be also marked as not
> executed. Am I right?

It's very similar, here our IL looks as follows:

  la1[0][0] = 0;
  la1[0][1] = 1;
  la1[1][0] = 0;
  la1[1][1] = 1;
  la2[0] = 0;
  la2[1] = 1;

Not being expert in area of initialization, but is probably more complex.
Hope it's not limiting capability of code coverage.

Reply via email to