[Bug middle-end/52996] [4.8 Regression] ice in verify_loop_structure, at cfgloop.c:1567

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 20 13:38:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52996

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> 2012-12-20 13:37:47 UTC ---
The issue here is that when unswitching, we create this new bb:
;; basic block 19, loop depth 0, count 0, freq 14, maybe hot
;;  prev block 20, next block 1, flags: (NEW, RTL, MODIFIED)
;;  pred:       18 [2.2%] 
;;  succ:       8 [100.0%]  (FALLTHRU)

its loop depth should be 1, not 0.



More information about the Gcc-bugs mailing list