public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/62033] New: okteta 4.13.97 error at -O3 -D_FORTIFY_SOURCE=2
@ 2014-08-06  9:03 amodra at gmail dot com
  2014-08-06  9:09 ` [Bug tree-optimization/62033] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amodra at gmail dot com @ 2014-08-06  9:03 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-06 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06  9:03 [Bug tree-optimization/62033] New: okteta 4.13.97 error at -O3 -D_FORTIFY_SOURCE=2 amodra at gmail dot com
2014-08-06  9:09 ` [Bug tree-optimization/62033] " pinskia at gcc dot gnu.org
2014-08-06  9:52 ` amodra at gmail dot com
2014-08-06 15:30 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).