[LLVMdev] llvm-gcc-4.2 build failure: llvm-convert.cpp:‘ReplacementStrings’ may be used uninitialized in this function

David Goodwin david_goodwin at apple.com
Tue Jun 30 11:39:15 PDT 2009


g++ -m32 -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings - 
pedantic -Wno-long-long -Wno-variadic-macros -Wmissing-format- 
attribute -Werror -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused - 
DTARGET_NAME=\"i686-apple-darwin9\" -DNDEBUG -I. -I. -I/tmp/ 
llvmgcc42.roots/llvmgcc42~obj/src/gcc -I/tmp/llvmgcc42.roots/ 
llvmgcc42~obj/src/gcc/. -I/tmp/llvmgcc42.roots/llvmgcc42~obj/src/ 
gcc/../include -I./../intl -I/tmp/llvmgcc42.roots/llvmgcc42~obj/src/ 
gcc/../libcpp/include  -I/tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/../ 
libdecnumber -I../libdecnumber -I/tmp/llvmCore.roots/llvmCore~dst/ 
Developer/usr/local/include -I/tmp/llvmCore.roots/llvmCore~obj/src/ 
include -DENABLE_LLVM -I/tmp/llvmCore.roots/llvmCore~dst/Developer/usr/ 
local/include  -D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS - 
D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"063009"' - 
DBUILD_LLVM_APPLE_STYLE   -I. -I. -I/tmp/llvmgcc42.roots/llvmgcc42~obj/ 
src/gcc -I/tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/. -I/tmp/ 
llvmgcc42.roots/llvmgcc42~obj/src/gcc/../include -I./../intl -I/tmp/ 
llvmgcc42.roots/llvmgcc42~obj/src/gcc/../libcpp/include  -I/tmp/ 
llvmgcc42.roots/llvmgcc42~obj/src/gcc/../libdecnumber -I../ 
libdecnumber -I/tmp/llvmCore.roots/llvmCore~dst/Developer/usr/local/ 
include -I/tmp/llvmCore.roots/llvmCore~obj/src/include /tmp/ 
llvmgcc42.roots/llvmgcc42~obj/src/gcc/llvm-debug.cpp -o llvm-debug.o
cc1plus: warnings being treated as errors
/tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/llvm-convert.cpp: In member  
function ‘llvm::Value* TreeToLLVM::EmitASM_EXPR(tree_node*)’:
/tmp/llvmgcc42.roots/llvmgcc42~obj/src/gcc/llvm-convert.cpp:4112:  
warning: ‘ReplacementStrings’ may be used uninitialized in this function






More information about the llvm-dev mailing list