This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/33946] New: Testcase multi-ix.c generates call to (poisoned) bzero
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2007 00:29:56 -0000
- Subject: [Bug testsuite/33946] New: Testcase multi-ix.c generates call to (poisoned) bzero
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
testsuite gcc.c-torture/execute/multi-ix.c calls __builtin_bzero;
At -O0, this gets expanded to a libcall to non-ISO function bzero
mingw32 does not have a library function bzero.. Hence:
spawn /develop/svn/trunk/build/gcc/xgcc -B/develop/svn/trunk/build/gcc/
/develop/svn/trunk/src/gcc/testsuite/gcc.c-torture/execute/multi-ix.c -w -O0
-fno-show-column -lm -o /develop/svn/trunk/build/gcc/testsuite/gcc/multi-ix.x0
c:\tmp/ccsxRYXw.o:multi-ix.c:(.text+0x9a3): undefined reference to `_bzero'
Why not use ___builtin_memset in the testcase instead of poisoned name ?
--
Summary: Testcase multi-ix.c generates call to (poisoned) bzero
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dannysmith at users dot sourceforge dot net
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33946