http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60897
Bug ID: 60897 Summary: Mangled function name in warning during -fprofile-use phase of Firefox build Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org During Firefox PGO build I noticed an mangled function name in a warning during -fprofile-use phase: markus@x4 src % c++ -o Unified_cpp_js_src2.o -c -I../../dist/system_wrappers -include /var/tmp/mozilla-central/config/gcc_hidden.h -DENABLE_PARALLEL_JS -DENABLE_BINARYDATA -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX='"lib"' -DDLL_SUFFIX='".so"' -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/var/tmp/mozilla-central/js/src -I. -I/usr/lib64/libffi-3.0.13/include -I/var/tmp/mozilla-central/js/src/../../mfbt/double-conversion -I../../dist/include -I/usr/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src2.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fprofile-use -fprofile-correction -ffunction-sections -fdata-sections -march=amdfam10 -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer /var/tmp/moz-build-dir/js/src/Unified_cpp_js_src2.cpp In file included from /var/tmp/moz-build-dir/js/src/Unified_cpp_js_src2.cpp:106:0: /var/tmp/mozilla-central/js/src/jit/BaselineIC.cpp: In function ‘bool js::jit::_ZN2js3jitL26TryAttachNativeGetPropStubEP9JSContextN2JS6HandleIP8JSScriptEEPhPNS0_18ICGetProp_FallbackENS4_IPNS_12PropertyNameEEENS4_INS3_5ValueEEESF_Pb.isra.1329(JSContext*, JS::HandleScript, jsbytecode*, js::jit::ICGetProp_Fallback*, js::HandlePropertyName, JS::HandleValue, bool*)’: /var/tmp/mozilla-central/js/src/jit/BaselineIC.cpp:6215:13: warning: ‘domProxyHasGeneration’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (domProxyHasGeneration) { ^ /var/tmp/mozilla-central/js/src/jit/BaselineIC.cpp:6245:20: warning: ‘domProxyShadowsResult’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (isDOMProxy && domProxyShadowsResult == Shadows) { ^ markus@x4 src % c++filt _ZN2js3jitL26TryAttachNativeGetPropStubEP9JSContextN2JS6HandleIP8JSScriptEEPhPNS0_18ICGetProp_FallbackENS4_IPNS_12PropertyNameEEENS4_INS3_5ValueEEESF_Pb.isra.1329 js::jit::TryAttachNativeGetPropStub(JSContext*, JS::Handle<JSScript*>, unsigned char*, js::jit::ICGetProp_Fallback*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, bool*) [clone .isra.1329]