mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 14:41:14 +08:00
re PR middle-end/39124 (-fno-exceptions leads to a ICE)
PR middle-end/39124 * cfgloopmanip.c (remove_path): Call remove_bbs after cancel_loop_tree, not before it. From-SVN: r144066
This commit is contained in:
parent
fc3103e7c9
commit
9b43d37b83
@ -1,5 +1,9 @@
|
||||
2009-02-10 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/39124
|
||||
* cfgloopmanip.c (remove_path): Call remove_bbs after
|
||||
cancel_loop_tree, not before it.
|
||||
|
||||
PR target/39139
|
||||
* function.h (struct function): Add has_local_explicit_reg_vars
|
||||
bit.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Loop manipulation code for GNU compiler.
|
||||
Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008 Free Software
|
||||
Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009 Free Software
|
||||
Foundation, Inc.
|
||||
|
||||
This file is part of GCC.
|
||||
@ -349,13 +349,13 @@ remove_path (edge e)
|
||||
if (rem_bbs[i]->loop_father->header == rem_bbs[i])
|
||||
deleted_loop[nreml++] = rem_bbs[i]->loop_father;
|
||||
|
||||
remove_bbs (rem_bbs, nrem);
|
||||
free (rem_bbs);
|
||||
|
||||
for (i = 0; i < nreml; i++)
|
||||
cancel_loop_tree (deleted_loop[i]);
|
||||
free (deleted_loop);
|
||||
|
||||
remove_bbs (rem_bbs, nrem);
|
||||
free (rem_bbs);
|
||||
|
||||
/* Find blocks whose dominators may be affected. */
|
||||
sbitmap_zero (seen);
|
||||
for (i = 0; i < n_bord_bbs; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user