------- Comment #1 from tony at bakeyournoodle dot com 2009-04-02 04:35 ------- Created an attachment (id=17577) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17577&action=view) Preprocess code to so problem
compile with: gcc -Os -Wall -Wundef -o /dev/null -c f.i As you can see the 2 functions f1 and f2, are the same expect for the size of the array. Only f2() generates the warning. -Os is needed, other -O levels do not show the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612