RE: -Wstringop-overflow complains about pointers holding explicitly set addresses

2022-03-16 Thread Guy Benyei via Gcc
Oh, Sorry I've missed that. Thanks Guy

-Wstringop-overflow complains about pointers holding explicitly set addresses

2022-03-16 Thread Guy Benyei via Gcc
Hello all, Compiling for RISC-V, I've ran into an error like this: tmp.c:15:3: error: 'memcpy' writing 4 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] 15 | memcpy(&str2->c, &str1->c, sizeof(str2->c)); | ^~

Mellanox Technologies, Ltd.

2016-11-08 Thread Guy Benyei
Hello, I'm Guy Benyei, Staff SW Engineer at Mellanox Technologies (www.mellanox.com) We would like to contribute code to the following projects: 1. GCC 2. BINUTILS 3. GDB Please let us know what forms we should have in place in order to start this, and if there is additional information you