This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA:] change back name of initial rtl dump suffix to ".rtl".


Gabriel Dos Reis wrote:
Paolo Bonzini <paolo.bonzini@lu.unisi.ch> writes:

| > > ISTR the name change was to avoid a switch named -fdump-rtl-rtl.
| > To invent an option name alias and use a minor repetition in it
| > as a reason for changing the old behavior is Bad.
| | It is not merely an option name alias. It came together with a
| redesign of the way RTL dumps work, to integrate their management with
| tree dumps and to allow (in the future) to have various levels of
| detail in the RTL dumps as well.


maybe an option with argument?

        -fdump-rtl=detailed
        -fdump-rtl=classic      # same as -fdump-rtl

-fdump-rtl-* (where the star is a path name) is the name of options that enable RTL dumps, e.g. -fdump-rtl-lreg or -fdump-rtl-cse2; "expand" is just a path name, and since the final part of the dump file name is the pass name, the file name gets changed from "foobar.00.rtl" to "foobar.00.expand".


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]