Gabriel Dos Reis wrote:
Paolo Bonzini <[EMAIL PROTECTED]> 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

Reply via email to