[Bug middle-end/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-28 Thread romain.naour at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262 --- Comment #6 from Romain Naour --- Hello, Thanks for the help and confirm that's a problem on the existing code, not on gcc. Best regards, Romain

[Bug middle-end/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262 --- Comment #5 from Martin Sebor --- I should add: because mdesc is a member of another struct it can't have a flexible array member, but as long as the enclosing struct mdesc_handle is not embedded as a member in another struct it can have a

[Bug middle-end/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262 Martin Sebor changed: What|Removed |Added Component|c |middle-end Resolution|---