Re: print gcc optimization log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



are these options enabled on production build, i.e. build i install
with apt-get install gcc on ubuntu ?

Xin


On Wed, Aug 15, 2012 at 10:21 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> On Wed, Aug 15, 2012 at 8:58 PM, Xin Tong <xerox.time.tech@xxxxxxxxx> wrote:
>> I sometimes run into issues where i want to figure out why gcc is
>> performing a specific optimization and what the optimization affects
>> the tree. is there any documents on how to print gcc optimizations and
>> code generation logs ?
>
> Unfortunately GCC has very little in the way of logs intended for end
> users.  About all I know is the -ftree-vectorizer-verbose information,
> which gives useful feedback about the vectorization optimizations.
>
> You can a lot of information by  using -fdump-tree-all-details
> -fdump-rtl-all-details, but it's difficult to interpret without the
> source code and a working knowledge of GCC internals.
>
> Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux