aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-data-refs.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-03-09 23:40:58 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-03-09 23:40:58 +0000
commit4729d7726bdc86c46aeb525270909b73490ce206 (patch)
tree1a0a01f1fe702feadf8fd20a3cf9fa97c02fd779 /gcc/tree-vect-data-refs.c
parent864396ff9e8a4ee1f02e1ff0fb4d096bbca547ff (diff)
downloadgcc-4729d7726bdc86c46aeb525270909b73490ce206.zip
gcc-4729d7726bdc86c46aeb525270909b73490ce206.tar.gz
gcc-4729d7726bdc86c46aeb525270909b73490ce206.tar.bz2
re PR go/65349 (go tool crashes, can't compile go code on 32bit linux systems)
PR go/65349 runtime: Don't call malloc from __go_file_line callback. When crashing, we call runtime_printcreatedby which calls __go_file_line which used to call the Go malloc. If we are crashing due to a signal due to heap corruption of some sort, the GO malloc lock might already be held, leading to a crash within a crash. Avoid that by assuming that the libbacktrace strings will stick around, as we already do in go-callers.c. From-SVN: r221291
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions