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: Which optimization levels affect gimple?


Paulo J. Matos wrote on 01/29/07 06:35:
On 1/29/07, Diego Novillo <dnovillo@redhat.com> wrote:
-fdump-tree-all gives you all the dumps by the high-level optimizers.
-fdump-all-all gives you all the dumps by both GIMPLE and RTL optimizers.


Is this -fdump-all-all version specific? Doesn't work on 4.1.1: $ g++ -fdump-all-all allocation.cpp cc1plus: error: unrecognized command line option "-fdump-all-all"

No, I goofed. I must've dreamed the -all-all switch. You have to use -fdump-tree-XXXX for GIMPLE dumps and -fdump-rtl-XXXX for RTL dumps. It's also possible that -fdump-rtl doesn't work on the 4.1 series (I don't recall when -fdump-rtl was introduced, sorry).

Check the invocation sections in the GCC 4.1 manual. Grep for fdump-.


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