nvptx: do not assume that crtl->is_leaf is unset
authorAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 21 Dec 2016 14:20:09 +0000 (17:20 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 21 Dec 2016 14:20:09 +0000 (17:20 +0300)
commit40829cb8f55428914e5e548868785b7df86d7c02
tree2c89c2bca6c1c92ea3784850a695c2532b80f66a
parentadc86fa52f4acec9cc8dc7243510d9c4eeee53d7
nvptx: do not assume that crtl->is_leaf is unset

PR target/78831
* config/nvptx/nvptx.c (init_softstack_frame): Remove assert.  Compute
crtl->is_leaf only if unset.  Adjust comment.

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