diff --git a/gnu/dist/toolchain/gcc/except.c b/gnu/dist/toolchain/gcc/except.c index f7d78d687eff..a5ca66396734 100644 --- a/gnu/dist/toolchain/gcc/except.c +++ b/gnu/dist/toolchain/gcc/except.c @@ -617,7 +617,11 @@ rtx gen_exception_label () { rtx lab; + + push_obstacks_nochange (); + end_temporary_allocation (); lab = gen_label_rtx (); + pop_obstacks (); return lab; } diff --git a/gnu/dist/toolchain/gcc/integrate.c b/gnu/dist/toolchain/gcc/integrate.c index 33a96c40f918..f1d220a1c4b8 100644 --- a/gnu/dist/toolchain/gcc/integrate.c +++ b/gnu/dist/toolchain/gcc/integrate.c @@ -110,7 +110,12 @@ get_label_from_map (map, i) rtx x = map->label_map[i]; if (x == NULL_RTX) - x = map->label_map[i] = gen_label_rtx(); + { + push_obstacks_nochange (); + end_temporary_allocation (); + x = map->label_map[i] = gen_label_rtx(); + pop_obstacks (); + } return x; }