[Bug target/70860] [nvptx] Revisit cfun->machine->doing_call
tschwinge at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 17 16:09:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70860
--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Tue May 17 16:08:37 2016
New Revision: 236326
URL: https://gcc.gnu.org/viewcvs?rev=236326&root=gcc&view=rev
Log:
[PR target/70860] [nvptx] Handle NULL cfun in nvptx_libcall_value
Backport GCC trunk r235748:
gcc/
PR target/70860
* config/nvptx/nvptx.c (nvptx_libcall_value): Handle NULL cfun.
(nvptx_function_value): Assert non-NULL cfun.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/nvptx/nvptx.c
More information about the Gcc-bugs
mailing list