Linking Program with Lib That Uses -fwrapv or '-fno-strict-overflow'

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

 



Hi All,

Is it possible to build a library which specifies -fwrapv or
'-fno-strict-overflow' but does not penalize the final executable
(with respect to optimizations) after final linking?

The question arises from a library which detects wrap/carry/overflow
and might need to specify -fwrapv or '-fno-strict-overflow' to take
advantage of 2s compliment math used on many modern architectures.

Jeff


[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