------- Comment #17 from pinskia at gcc dot gnu dot org  2010-07-05 00:11 
-------
>        * Makefile.in (expmed.o-warn): Add -Wno-error.

There is no comment in Makefile.in why this is there, can you add one.  Also is
this a false warning from gcc or a true one, I cannot tell.

Note I also get a warning for:
/home/apinski/src/gcc-fsf/local//gcc/libgcc/../gcc/crtstuff.c:372:19: warning:
array subscript is above array bounds [-Warray-bounds]

Where the code does:
  if (__JCR_LIST__[0])

__JCR_LIST__ is defined as:
STATIC void *__JCR_LIST__[]
  __attribute__ ((used, section(JCR_SECTION_NAME), aligned(sizeof(void*))))
  = { };

Which means it is not above the array bounds after all since there is no real
array bounds for that array :).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43270

Reply via email to