[Bug tree-optimization/89644] New: False-positive -Warray-bounds diagnostic on strncpy

2019-03-09 Thread samuel at sholland dot org
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

[Bug target/89112] Incorrect code generated by rs6000 memcmp expansion

2019-01-29 Thread samuel at sholland dot org
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

[Bug target/89112] New: Incorrect code generated by rs6000 memcmp expansion

2019-01-29 Thread samuel at sholland dot org
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