libgo: fix for runtime/check failure with "-O0 -g"
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Sep 2016 18:02:40 +0000 (18:02 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Sep 2016 18:02:40 +0000 (18:02 +0000)
commit58920998e374bac41c6affea0284e6d1f00f5c42
tree57f9b4dc84c2cab069293196315b22343576bfe9
parentfd5effb17e5f800fcaf54fc1223b77fa764b7f72
libgo: fix for runtime/check failure with "-O0 -g"

    Tweak the makefile rules for the runtime/check test to
    insure that the runtime package is compiled with
    "-fgo-compiling-runtime". This resolves a test failure
    (unsat on runtime.getcallerpc) when in a build directory where the
    compiler flags have been configured to disable optimization.

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

From-SVN: r240588
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in