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

Reply via email to