https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52416
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |marxin at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Well, I guess it's caused by exception handling edges: 1: 12: std::cout << val << std::endl; call 0 returned 100% branch 1 taken 100% (fallthrough) branch 2 taken 0% (throw) call 3 returned 100% branch 4 taken 100% (fallthrough) branch 5 taken 0% (throw) With -fno-exceptions these edges will disappear: 1: 12: std::cout << val << std::endl; call 0 returned 100% call 1 returned 100% -: 13: } Thus, I'm closing that as invalid.