This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]Save/restore crtl->is_thunk for emitting thunk code (PR/debug 39378)


Jing Yu <jingyuuiuc@gmail.com> writes:

> Index ChangeLog
> 2009-03-17  Jing Yu  <jingyu@google.com>
>
>        PR middle-end/39378
>        * function.h (struct rtl_data): Move is_thunk from here...
>        (struct function): ...to here.
>         * 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 (alpha_sa_mask): Change is_thunk from crtl to
>         cfun.
>         (alpha_does_function_need_gp, alpha_start_function): Likewise.
>         (alpha_output_function_end_prologue): Likewise.
>         (alpha_end_function, alpha_output_mi_thunk_osf): Likewise.
>         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise.
>         (rs6000_output_function_epilogue): Likewise.
>         * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise.
>
> Index: testsuite/ChangeLog
> 2009-03-17  Jing Yu  <jingyu@google.com>
>
>        PR middle-end/39378
>        * g++.dg/inherit/thunk10.C: New test.
>
> The patch is attached to this email.
> Ok for trunk now?

Yes, this is OK.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]