This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/67101] mprof.goc:408:5: error: calling â__builtin_frame_addressâ with a nonzero argument is unsafe [-Werror=frame-address]


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]