aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/parse.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-02-28 15:13:16 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-02-28 15:13:16 +0000
commitc5c78a527d98118e8ee8a098627a3f3f00307bd2 (patch)
treefc4c1d5e48b8405527572ac35f9bbf74d5e442f7 /gcc/fortran/parse.c
parent5d805ca6229a56bc74337689d2a7129a14185e16 (diff)
downloadgcc-c5c78a527d98118e8ee8a098627a3f3f00307bd2.zip
gcc-c5c78a527d98118e8ee8a098627a3f3f00307bd2.tar.gz
gcc-c5c78a527d98118e8ee8a098627a3f3f00307bd2.tar.bz2
runtime: fix sigfwd to not allocate memory
The use of &[1]uintptr{fn} was causing sigfwd to allocate memory, even though it is being compiled for the runtime package. That is a bad idea for this function, which is invoked by a signal handler. Rewrite it to use only constructs that do not allocate memory when compiled for the runtime package. The test for this is misc/cgo/testcarchive in the main repo, which we don't yet test. Reviewed-on: https://go-review.googlesource.com/37454 From-SVN: r245777
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions