Re: Where does GCC pick passes for different opt. levels

2014-08-11 Thread Steve Ellcey
> default_options_table in opts.c. Thanks Andrew and Marc, I knew it would be obvious once I saw it. Steve

Re: Where does GCC pick passes for different opt. levels

2014-08-11 Thread Andrew Pinski
On Mon, Aug 11, 2014 at 1:58 PM, Steve Ellcey wrote: > I have a basic question about optimization selection in GCC. There used to > be some code in GCC (passes.c?) that would set various optimize pass flags > depending on if the 'optimize' flag was > 0, > 1, or > 2; later I think > there may have

Re: Where does GCC pick passes for different opt. levels

2014-08-11 Thread Marc Glisse
On Mon, 11 Aug 2014, Steve Ellcey wrote: I have a basic question about optimization selection in GCC. There used to be some code in GCC (passes.c?) that would set various optimize pass flags depending on if the 'optimize' flag was > 0, > 1, or > 2; later I think there may have been a table.

Where does GCC pick passes for different opt. levels

2014-08-11 Thread Steve Ellcey
I have a basic question about optimization selection in GCC. There used to be some code in GCC (passes.c?) that would set various optimize pass flags depending on if the 'optimize' flag was > 0, > 1, or > 2; later I think there may have been a table. This code seems gone now and I can't figure ou