[Bug c/37921] __builtin_constant_p seems to be giving false positives
arjan at linux dot intel dot com
gcc-bugzilla@gcc.gnu.org
Sun Oct 26 18:18:00 GMT 2008
------- Comment #1 from arjan at linux dot intel dot com 2008-10-26 18:17 -------
Created an attachment (id=16553)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16553&action=view)
test case for bug 37921
gcc -c -Wall -Os -fno-strict-aliasing -o fadt.o fadt.c
leads to:
fadt.c: In function Âacpi_tb_create_local_fadtÂ:
fadt.c:132: warning: array subscript is above array bounds
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921
More information about the Gcc-bugs
mailing list