OSDN Git Service

2009-03-12 Jing Yu <jingyu@google.com>
authordougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 2009 20:18:21 +0000 (20:18 +0000)
committerdougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 2009 20:18:21 +0000 (20:18 +0000)
commit9247818a3d5d75512a680f65c156f641ca0a78d6
tree71b7bedfc8e8e84e9cc8bc7754c2684db939a9fe
parentd849db06f3a235c653f6f6166f81b9f00ca5ad17
2009-03-12  Jing Yu  <jingyu@google.com>

PR middle-end/39378
* function.h: Move is_thunk from rtl_data structure to function
structure.
* cp/method.c (use_thunk): Change is_thunk from crtl to cfun.
* varasm.c (assemble_start_function): Change is_thunk from crtl to
cfun.
* config/alpha/alpha.c: Change is_thunk from crtl to cfun.
* config/rs6000/rs6000.c: Change is_thunk from crtl to cfun.
* config/arm/arm.h: Change is_thunk from crtl to cfun.
* testsuite/g++.dg/inherit/thunk10.C: New file.

Patch submitted by Doug Kwan <dougkwan@google.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144918 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/arm/arm.h
gcc/config/rs6000/rs6000.c
gcc/cp/method.c
gcc/function.h
gcc/testsuite/ChangeLog
gcc/varasm.c