Re: question about -Werror=strict-overflow

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

 



JÄdrzej Dudkiewicz <jedrzej.dudkiewicz@xxxxxxxxx> writes:

> It's very strange - in whole function (300 lines, yay), this variable is used:
> 1) to store return values from different functions, all of them
> returning signed integers
> 2) for comparison with different values defined in a manner similar to
> SSLSOCK_S_SUCCED mentioned above.
>
> There are no arithmetic, logical or bit operations involving this
> variable. It's completely beyond me, why would gcc change this to a
> constant.

Consider function inlining.

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