Hello GCC developers and GCC mailing list members:
This message concerns some warnings noted by GCC during the
compilation of GCC 6.1.0. If GCC had the -Werror flag passed, this
would be an error. I'm not sure if this is an error, just a warning
that I should ignore, or a bug, but I just wanted you to note the
following warning:
In file included from ../../gcc/rtl.h:34,
from ../../gcc/genpreds.c:27:
../../gcc/vec.h: In static member function ‘static size_t vec<T, A,
vl_embed>::embedded_size(unsigned int) [with T = std::pair<unsigned
int, const char*>, A = va_heap]’:
../../gcc/vec.h:286: instantiated from ‘static void
va_heap::reserve(vec<T, va_heap, vl_embed>*&, unsigned int, bool)
[with T = std::pair<unsigned int, const char*>]’
../../gcc/vec.h:1406: instantiated from ‘bool vec<T, va_heap,
vl_ptr>::reserve(unsigned int, bool) [with T = std::pair<unsigned int,
const char*>]’
../../gcc/vec.h:1515: instantiated from ‘T* vec<T, va_heap,
vl_ptr>::safe_push(const T&) [with T = std::pair<unsigned int, const
char*>]’
../../gcc/genpreds.c:1524: instantiated from here
../../gcc/vec.h:1026: warning: invalid access to non-static data
member ‘vec<std::pair<unsigned int, const char*>, va_heap,
vl_embed>::m_vecdata’ of NULL object
../../gcc/vec.h:1026: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
There are many other warnings, and I will post a link to the
compilation logs when the compilation finishes. (I've had to redo the
compilation more than once because SSH decided to idle timeout and
make noted the hangup, ending the compilation process immediately due
to there being no TTY to send messages to, even though I'd had them
(and still have them) redirected to a file.)
--
Signed,
Ethin D. Probst