diff options
Diffstat (limited to 'gcc/ira.cc')
-rw-r--r-- | gcc/ira.cc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5542,6 +5542,9 @@ bool ira_conflicts_p; /* Saved between IRA and reload. */ static int saved_flag_ira_share_spill_slots; +/* Set to true while in IRA. */ +bool ira_in_progress = false; + /* This is the main entry of IRA. */ static void ira (FILE *f) @@ -6110,7 +6113,9 @@ public: } unsigned int execute (function *) final override { + ira_in_progress = true; ira (dump_file); + ira_in_progress = false; return 0; } |