> Relax the (accidental) requirement and permit that function-local
> counters don't have SSA names.  We really only look up the def
> statement to check if it is a phi node, in which case we need to
> resolve the counter from there.  This obviously doesn't apply when it
> is a constant.
> 
>       PR gcov-profile/123855
> 
> gcc/ChangeLog:
> 
>       * path-coverage.cc (flush_on_edges): Only look up SSA name def
>       stmt when counter is non-const.
> 
> gcc/testsuite/ChangeLog:
> 
>       * gcc.misc-tests/gcov-pr123855.c: New test.
OK,
Thanks!
Honza

Reply via email to