On Jan  4, 2017, Richard Biener <richard.guent...@gmail.com> wrote:

>> Unfortunately I don't have another that silences the warning without
>> (or even with) impact on codegen.

> #pragma GCC diagnostic push ("Wno-array-bounds")

> #pragma GCC diagnostic pop

Wwwhaaat?  #pragma GCC diagnostic to silence warnings?  Who'd have
thunk? :-D

*blush*


> ? (well, fix the syntax for me please ;))

Sure can do, but then...  Unlike the assert, that might legitimately
have been put there, this will pollute the source code for the sake of a
non-default build configuration that doesn't usually deserve.  I'll
prepare and post a patch anyway, but do we want to make it standard
practice?

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer

Reply via email to