diff options
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index b6e3cf801b1..9c62f8b3bb1 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -4293,4 +4293,13 @@ make_pass_rtl_hoist (gcc::context *ctxt) return new pass_rtl_hoist (ctxt); } +/* Reset all state within gcse.c so that we can rerun the compiler + within the same process. For use by toplev::finalize. */ + +void +gcse_c_finalize (void) +{ + test_insn = NULL; +} + #include "gt-gcse.h" |