This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/67101] mprof.goc:408:5: error: calling â__builtin_frame_addressâ with a nonzero argument is unsafe [-Werror=frame-address]
- From: "miyuki at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Aug 2015 22:22:29 +0000
- Subject: [Bug go/67101] mprof.goc:408:5: error: calling â__builtin_frame_addressâ with a nonzero argument is unsafe [-Werror=frame-address]
- Auto-submitted: auto-generated
- References: <bug-67101-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67101
Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |miyuki at gcc dot gnu.org
--- Comment #4 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
Seems like it's still failing:
/home/jenkins/workspace/build-gcc-trunk/src/libgo/runtime/mprof.goc: In
function âruntime_Stackâ:
/home/jenkins/workspace/build-gcc-trunk/src/libgo/runtime/mprof.goc:437:19:
error: âenablegcâ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
mstats.enablegc = enablegc;
^
/home/jenkins/workspace/build-gcc-trunk/src/libgo/runtime/mprof.goc:406:7:
note: âenablegcâ was declared here
bool enablegc;
That is r226526, x86_64-pc-linux-gnu bootstrap, configured like this:
$ /home/jenkins/workspace/build-gcc-trunk/src/configure
--enable-languages=c,c++,objc,lto,fortran,go --prefix=/opt/gcc-6.0.0
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
--with-isl=/opt/isl-0.14 --enable-shared --with-fpmath=sse --enable-multilib
--enable-bootstrap --enable-checking=yes CC=/opt/gcc-4.9.3-fdo/bin/gcc
CXX=/opt/gcc-4.9.3-fdo/bin/g++
The warning is likely a false positive.