Loop Distribution Dump

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

 



Hello,
I am trying to explore loop distribution. The following sample code
has been constructed according to the example given in
tree-loop-distribution.c file.
int main()
{
        int i, j, a[100], b, c;
        for (i=0; i<100; i++)
        {
                a[i] = b + 5;
                c = a[i-1] + 10;
        }
        printf ("%d, %d\n", a[20], b, c);
        return 0;
}
I use the following cmd line to compile the code :
install/bin/gcc -fdump-tree-all -O3 -ftree-loop-distribution filename.c

However, in the dump file *.ldist, there is no loop distribution
visible. Does this indicate that loop distribution is not performed?
Or is there some other option that I need to pass to enable this pass?
Any pointers in this regard would be highly appreciated!

--
With Regards,
Prashant SIngh Rawat
MTech, CSE, IIT Bombay

[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