Skip to content
Snippets Groups Projects
Commit f6081ee6 authored by Richard Sandiford's avatar Richard Sandiford
Browse files

Disable late-combine for -O0 [PR115677]

late-combine relies on df, which for -O0 is only initialised late
(pass_df_initialize_no_opt, after split1).  Other df-based passes
cope with this by requiring optimize > 0, so this patch does the
same for late-combine.

gcc/
	PR rtl-optimization/115677
	* late-combine.cc (pass_late_combine::gate): New function.
parent 187eeb99
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment