OR in Generic or Gimple

Andrew Haley aph@redhat.com
Wed Apr 20 09:28:00 GMT 2011


On 20/04/11 10:14, charfi asma wrote:

> Ah!! that's it Andrew, thank you very much, In fact I used -Os :) when I remove 
> this flag I get the same gimple than yours :) but I thought that gcc does its 
> optimizations in the SSA and only early optimizations (Inter procedural 
> optimizations IPA) are done in early stages. Did this mean that gcc also perform 
> optimizations in gimple ?? like constant propagation ?

gcc does its optimizations all over the place.  There are
a few, such as constant folding, that are done in the
front end.

Andrew.



More information about the Gcc-help mailing list