[PR target/70860] [nvptx] Handle NULL cfun in nvptx_libcall_value
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 2 May 2016 11:25:17 +0000 (13:25 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 2 May 2016 11:25:17 +0000 (13:25 +0200)
commite91cacaedb0ef7c9674af7f8920de5952bbb7fbb
treef6f32bb7c89b7af952b468d97d16ba021ad5bb98
parentc408fb34f9068cf559e8065b60fdf44450377a67
[PR target/70860] [nvptx] Handle NULL cfun in nvptx_libcall_value

gcc/
PR target/70860
* config/nvptx/nvptx.c (nvptx_libcall_value): Handle NULL cfun.
(nvptx_function_value): Assert non-NULL cfun.

From-SVN: r235748
gcc/ChangeLog
gcc/config/nvptx/nvptx.c