This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: list of optimizations done by -O1 level
ranjith kumar writes:
>
>
> Is there any way to find list of optimizations enabled
> by -O1?
-fverbose-asm. The list is in the top of the .s file.
> Actually when I explicitly specified all
> optimizations, there were function calls associated
> with each SIMD function called in .c file.
> But when I used -O1 flag they were not present in
> assembly code.
> I am intrested in knowing which optimization is
> replacing those function calls and at what
> intermediate representation that optimization is done?
Use -fdump-tree-all and have a look.
Andrew.