On Feb 20, 2017, Richard Biener <richard.guent...@gmail.com> wrote:

> On Fri, Feb 17, 2017 at 4:18 PM, Martin Liška <mli...@suse.cz> wrote:
>> Hello.
>> 
>> We should not have a default value (different from -1) that is smaller than 
>> minimum.
>> 
>> Ready to be installed after tests?

> I think you should instead change the minimum value.

> But OTOH I wonder why this is a --param at all...  Alex?  Why's this
> not just a #define
> inside emit-rtl.c?  In what circumstances is the user supposed to
> alter this --param?

It's convenient to debug -fcompare-debug errors.  You set the param to a
large number, and then non-debug insns will get the same uid in both
debug and non-debug compilations, so it's easier to compare RTL dumps
(using the attached gcc-diff-dump; I thought it was in contrib, but it's
not; should I put it there?) and locate the differences.

Attachment: gcc-diff-dump
Description: Bourne shell script


-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer

Reply via email to