Should gl_MANYWARN_ALL_GCC be adding some gcc -f options?  For example,
at least gcc 4.3.4 -Wdisabled-optimization would emit a warning that
several other -W warnings are useless without -funit-at-a-time also in
place (see coreutils commit 5e361387d).  Also, according to 'info gcc,
-Wsuggest-attribute=pure only works if -fipa-pure-const is turned on
(true by default for -O compilation, but apparently the -W option can
also catch a few cases even without -O if -fipa-pure-const is manually
turned on).

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to