Re: optimization options not working

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

 



rohitgeek <rohit23taneja@xxxxxxxxx> writes:

> This is test.c
>
>  main()
>   {
>   int a,b,c;
>    a= 5;
>    b=10;
>    d=30;
>   c=  a*b + 30 ;
> }

What everyone is trying to tell you is that that program is precisely
equivalent to this one:

main() { }

The optimizer is smart enough to reduce the former to the latter.

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