bug-gnulib
[Top][All Lists]
Advanced

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

manywarnings and -f options


From: Eric Blake
Subject: manywarnings and -f options
Date: Fri, 02 Dec 2011 11:05:41 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]