aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stmt.cc')
-rw-r--r--gcc/stmt.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/stmt.cc b/gcc/stmt.cc
index fa0c5d4..a510f8f 100644
--- a/gcc/stmt.cc
+++ b/gcc/stmt.cc
@@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-cfg.h"
#include "dumpfile.h"
#include "builtins.h"
+#include "cfgexpand.h"
/* Functions and data structures for expanding case statements. */
@@ -1025,7 +1026,7 @@ expand_case (gswitch *stmt)
&& gimple_seq_unreachable_p (bb_seq (default_edge->dest)))
{
default_label = NULL;
- remove_edge (default_edge);
+ expand_remove_edge (default_edge);
default_edge = NULL;
}