Check e->call_stmt before calling gimple_call_set_cannot_inline.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 10 Jan 2011 13:24:27 +0000 (13:24 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 10 Jan 2011 13:24:27 +0000 (05:24 -0800)
commit94cd932caeac5f720dd5a5f78583a5eaea456c6c
treec8e1bb5162500d3e7ff842010e045a84a72f504d
parent18c9fa1720c28af3ddcf3d367ef640e332fe8a64
Check e->call_stmt before calling gimple_call_set_cannot_inline.

2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/46760
* tree-inline.c (tree_can_inline_p): Check e->call_stmt before
calling gimple_call_set_cannot_inline.

From-SVN: r168631
gcc/ChangeLog
gcc/tree-inline.c