https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817

--- Comment #18 from dave.anglin at bell dot net ---
On 2016-12-16, at 6:55 AM, rguenth at gcc dot gnu.org wrote:

> Please revert this - I've rejected similar patches from Martin Liska recently.
> You just slow down the compiler for no good reason (read: for a badly
> implemented warning)

The change didn't fix build on hppa-linux:

../../gcc/gcc/tree-vect-data-refs.c: In function ‘void
vect_permute_store_chain(
vec<tree_node*>, unsigned int, gimple*, gimple_stmt_iterator*,
vec<tree_node*>*)
’:
../../gcc/gcc/tree-vect-data-refs.c:4896:27: error: argument 2 null where
non-nu
ll expected [-Werror=nonnull]
    length * sizeof (tree));
                           ^
In file included from
/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3
/include/cstring:42:0,
                 from ../../gcc/gcc/system.h:235,
                 from ../../gcc/gcc/tree-vect-data-refs.c:23:
/usr/include/string.h:42:14: note: in a call to function ‘void* memcpy(void*,
co
nst void*, size_t)’ declared here
 extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
              ^~~~~~

--
John David Anglin       dave.ang...@bell.net

Reply via email to