re PR go/67101 (mprof.goc:408:5: error: calling ‘__builtin_frame_address’ with a...
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Aug 2015 17:54:50 +0000 (17:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Aug 2015 17:54:50 +0000 (17:54 +0000)
commit3d6d2a63b2457450d93cfaa9787a27359264b2c3
tree9571b922399290511f15ae0d488782d6fc9ee6fc
parent8a9212788db6800b478389b5db1b9807c58286e9
re PR go/67101 (mprof.goc:408:5: error: calling ‘__builtin_frame_address’ with a nonzero argument is unsafe [-Werror=frame-address])

PR go/67101

    runtime: Remove call to __builtin_frame_address.

    __builtin_frame_address was only supposed to use nonzero arguments
    for debugging purposes.  Calling it with nonzero arguments can have
    unpredictable results and uses are now marked unsafe when
    -Wframe-address is enabled.

    Reviewed-on: https://go-review.googlesource.com/13063

From-SVN: r226525
gcc/go/gofrontend/MERGE
libgo/runtime/mprof.goc