This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65511] transform_to_exit_first_loop looses edge probabilities
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Mar 2015 09:58:34 +0000
- Subject: [Bug tree-optimization/65511] transform_to_exit_first_loop looses edge probabilities
- Auto-submitted: auto-generated
- References: <bug-65511-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65511
--- Comment #2 from vries at gcc dot gnu.org ---
using tentative patch, we get:
...
if (ivtmp_25 < _12)
goto <bb 13>;
else
goto <bb 14>;
;; succ: 13 [99.0%] (TRUE_VALUE,EXECUTABLE)
;; 14 [1.0%] (FALSE_VALUE,EXECUTABLE)
...