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