[Bug tree-optimization/62033] New: okteta 4.13.97 error at -O3 -D_FORTIFY_SOURCE=2
amodra at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 6 09:03:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62033
Bug ID: 62033
Summary: okteta 4.13.97 error at -O3 -D_FORTIFY_SOURCE=2
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: amodra at gmail dot com
Created attachment 33257
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33257&action=edit
delta+hand reduced testcase
Found on powerpc64le with 4.9, and then with x86_64 4.10.0 20140727
Due to __warn_memset_zero_len reference in object, we get
.../bytearraymodel_p.o: In function `memset':
.../bits/string3.h:81: warning: memset used with constant zero length
parameter; this could be due to transposed parameters
collect2: error: ld returned 1 exit status
Compile testcase with
-O3 -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
More information about the Gcc-bugs
mailing list