This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/29879] [4.3 Regression] ICE: verify_flow_info: loop_father but no loops



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]