OSDN Git Service

Check e->call_stmt before calling gimple_call_set_cannot_inline.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jan 2011 13:24:27 +0000 (13:24 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jan 2011 13:24:27 +0000 (13:24 +0000)
commit759a30b2ba2287a83e867f8fd905e51b498ce220
treec8e1bb5162500d3e7ff842010e045a84a72f504d
parent975d6522655fc639fb2d7bbe9c1fa282647c67c5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168631 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-inline.c