Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: samuel at sholland dot org
Target Milestone: ---
GCC 8.3.0 warns for some calls to strncpy where n == sizeof(dest). It appears
to only happen if src is anything more complex than a char*, such as an array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89112
--- Comment #1 from Samuel Holland ---
Created attachment 45563
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45563&action=edit
Output of gcc -v
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: samuel at sholland dot org
Target Milestone: ---
Created attachment 45562
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45562&action=edit
Slightly simplified reproducer -- derived from Net::SSLeay cons