This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/29879] [4.3 Regression] ICE: verify_flow_info: loop_father but no loops
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2006 21:10:39 -0000
- Subject: [Bug rtl-optimization/29879] [4.3 Regression] ICE: verify_flow_info: loop_father but no loops
- References: <bug-29879-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from rakdver at gcc dot gnu dot org 2006-11-19 21:10 -------
(In reply to comment #9)
> Created an attachment (id=12643)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12643&action=view) [edit]
> New patch, the old one could cause a seg fault also during bootstrap
>
> I forgot when I changed loops to current_loops to check if current_loops was
> NULL.
It is not necessary to check whether current_loops->num > 0 (if current_loops
is not null, current_loops->num is never zero); otherwise the patch looks ok to
me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29879