[PATCH] Make disabled-optimization warning more informative; increase default max-gcse-memory
Thu Nov 12 21:12:00 GMT 2015
On 11/12/2015 12:08 PM, Bradley Lucier wrote:
> On 11/12/2015 11:57 AM, Bernd Schmidt wrote:
>>> The expanded warning allowed me to see how much memory really was needed
>>> to apply gcse to some of my routines, and 128MB fixes my problem. The
>>> limit has been 50MB for over 10 years, I think we can up it a bit now.
>>> + unsigned int memory_request = n_basic_blocks_for_fn (cfun)
>>> + * SBITMAP_SET_SIZE (max_reg_num ())
>>> + * sizeof (SBITMAP_ELT_TYPE);
>> Formatting (wrap in parens to get it indented).
>> Otherwise ok.
> Here's the reformatted patch (but without retesting).
To check reformatting, bootstrapped on x86_64-pc-linux-gnu with
More information about the Gcc-patches